Skip to content
Projekte

Über uns

Eine Komponente, die Game Objects eine GUID zuweist, und eine Klasse zum Erstellen von Verweisen auf Objekte in jeder Scene anhand ihrer GUID

Spiele und Emulation

So werden diese Zahlen gemessen

Gemessener Sternzuwachs

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Verlauf wird gesammelt

Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.

README.md

Original

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.

Ähnliche Projekte entdecken

Wird geladen…