Unity-Technologies/guid-based-reference
概要
Game ObjectにGUIDを付与し、GUIDで任意のScene内のオブジェクトへの参照を作成するクラス
ゲーム・エミュレーター計測したスター増加
- 24時間
- 0
- 7日間
- 0
- 15日間
- 0
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルGuid Based Reference
License - Please see LICENSE.md in this repository
Summary A component to give a Globaly Unique IDentifier (GUID) to a Game Object. This GUID can then be used to reference an object even if it is another Scene, not loaded yet, or otherwise not easy to directly reference.
Maintainers William Armstrong [email protected]
To Use:
Add a GuidComponent to any object you want to be able to reference.
In any code that needs to be able to reference objects by GUID, add a GuidReference field.
GuidReference.gameObject will then return the GameObject if it is loaded, otherwise null.
Look in the CrossSceneReference/SampleContent folder for example usage.
Load up the LoadFirst scene, and then use the SceneLoader object to load 'LoadSecond'
You should see the CrossSceneReferencer object find the CrossSceneTarget object, and set both of them to start spinning.
関連プロジェクトを探す
読み込み中…