Click or drag to resize

FocusableModelGameObjectId Property

(Optional) Defines what the GameObject should be named.

Namespace:  Livit.Learn.Model
Assembly:  Livit.Learn.Model (in Livit.Learn.Model.dll) Version: 0.0.0.0
Syntax
C#
public string GameObjectId { get; set; }

Property Value

Type: String
Remarks

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.

See Also