Unity-Technologies/guid-based-reference
소개
Game Object에 GUID를 부여하고, GUID로 어느 Scene의 오브젝트든 참조를 생성할 수 있는 클래스
게임 및 에뮬레이션측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalGuid 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.
관련 프로젝트 살펴보기
불러오는 중…