FocusableModelGameObjectId Property |
Namespace: Livit.Learn.Model
Setting the GameObjectId will define how the GameObject is named in Unity once the element is created.
A best practice is to let the engine handle the naming of the GameObjectID and to use the ID to reference this GameObject.
If a SourceID has been specified for this GameObject, the GameObjectId will automatically be set to the same name, followed by an integer to ensure GameObjectId is unique.
If a GameObjectId has been specified but no SourceId, the platform will not clone any asset, but look into existing elements for an already created GameObject with a name matching the value in GameObjectId.
Please refer to the documentation for SourceId for more information on how GameObjectId and SourceId behave.