Click or drag to resize

ElementModelSourceId Property

Specifies the ID of the GameObject asset to be loaded.

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

Property Value

Type: String
Remarks

When specifying the SourceId of an element, the platform will generate a new GameObject by creating a clone of the asset with a GameObject name matching the SourceId value. This new GameObject will get a random GameObjectId if none has been specified.

If a GameObjectId is also specified, the new GameObject will have the specified name.

See Also