Immerse SDK
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

SceneObjectIndex.AddObject

public void AddObject(Object newObject)

Add an object to the index
Objects cannot be added to this index at runtime. Please use DontDestroyOnLoadLoadIndex.SceneIndex instead

Parameter Description
newObject Index to add