One Shot Parameter - 【無料】一発だけ再生する音声やパーティクル等を簡単に実装できるコンポーネント
- VCC用インストーラーDigital0 JPY
- 投げ銭(内容同じ)Digital500 JPY

一発だけ再生する音声やパーティクル等を簡単に実装できるコンポーネント (BoolやIntパラメーターが変化後指定時間たったら自動でリセットされるようになるやつです) オープンソースです→https://github.com/Narazaka/OneShotParameter
使い方
アバター内のどこかにインスペクターの「Add Component」ボタンから「OneShotParameter」を付けて、制御したいメニューのパラメーター等を設定します。
例: 音声の再生
1. Avatar Menu Creator for MA で音などのON/OFFメニューを作る 2. そのメニューオブジェクト等に「Add Component」ボタンから「OneShotParameter」を付けて、「パラメーター名」にパラメーター名を指定します。 - Avatar Menu Creatorではデフォルトでオブジェクト名がパラメーター名です。 3. 音の継続秒数を確認し、「リセット時間(秒)」に指定します。
ライセンス
Zlib License Copyright (c) 2025 Narazaka This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution.