[無料] ローカルスイッチ生成ツール(Clusterワールド制作用)
- LocalSwitchGenerator 1.x.xダウンロード商品¥ 0
- 投げ銭 (Donation)ダウンロード商品¥ 500
![[無料] ローカルスイッチ生成ツール(Clusterワールド制作用)](https://booth.pximg.net/a9be021a-c732-4c21-b32e-7e727079becd/i/5407895/ab025a72-0466-4559-9aae-0a0dc3e72ea7_base_resized.jpg)
Descriptions in English are listed after the descriptions in Japanese. Cluster Creator Kitを使用したワールド制作で、ローカルスイッチのギミックを簡単に作れるツールです。 ● プレイヤーごとにオブジェクトの ON / OFF を切り替えることができます ● Timeline方式なので、すべてのオブジェクトに対して使用できます (Item系のオブジェクトに使用した際は他プレイヤー視点での挙動が変化する場合があります) ソースコードは下記のリポジトリで公開しています。 https://github.com/suzuryg/local-switch-generator
要件
Unity 2021.3 / Cluster Creator Kit v1.17.0
使い方
# ローカルスイッチの生成 1. Unity メニュー Tools > LocalSwitchGenerator から 本ツールのウィンドウ を開きます 2. 「対象オブジェクト」に ON / OFF を切り替えたいオブジェクトをセットします 3. 「ボタン」に ON / OFF を切り替えるボタンとするオブジェクトをセットします 4. 「生成」ボタンを押すと、ローカルスイッチのギミックが生成されます ・ボタンにItemコンポーネントとInteractItemTriggerコンポーネントが追加されます ・「Switch_XXX」(XXXは対象オブジェクトの名前)という名前のギミック用オブジェクトが生成されます # ローカルスイッチの削除 1. ボタンからItemコンポーネントとInteractItemTriggerコンポーネントを削除します 2. 「Switch_XXX」オブジェクトを削除します
参考文献
clusterで作るTimeline式ローカルギミック https://note.com/what_wat_/n/n722d6183ebee
LocalSwitchGenerator
This tool allows you to easily create local switch gimmicks in world production using the Cluster Creator Kit. - You can switch objects ON/OFF for each player - Timeline method is used, so it can be applied to any object. - When used on Item-type objects, behavior may change from other players The source code is available in the following repository. https://github.com/suzuryg/local-switch-generator
Requirements
Unity 2021.3 / Cluster Creator Kit v1.17.0
How to Use
# Generate Local Switch 1. Open the tool window from Unity menu Tools > LocalSwitchGenerator 2. Set the object you want to switch ON/OFF in "Target Object" field 3. Set the object you want to use as the ON/OFF button in "Button" field 4. Press the "Generate" button to create the local switch gimmick - Item component and InteractItemTrigger component will be added to the button - A gimmick object named "Switch_XXX" (XXX is the name of the target object) will be created # Delete Local Switch 1. Remove the Item component and InteractItemTrigger component from the button 2. Delete the "Switch_XXX" object
References
Creating Timeline-Style Local Gimmicks in Cluster https://note.com/what_wat_/n/n722d6183ebee