|
| override string | SaveData () |
| | Serialises appropriate GameObject values into a string. Overriden by subclasses.
|
| override IEnumerator | LoadDataCo (string stringData) |
| | Deserialises a string of data, and restores the GameObject to its previous state. By default, this just runs LoadData - only override this if the loading process takes multiple frames.
|
|
SceneItemSpawnData | SaveSpawnData () |
|
void | LoadSpawnData (SceneItemSpawnData data) |
|
void | ShowGUI () |
| virtual void | LoadData (string stringData) |
| | Deserialises a string of data, and restores the GameObject to its previous state. Overridden by subclasses.
|
| virtual void | OnSpawn () |
|
void | SetManualID (int _id) |
| int | AssignInitialValue (bool forcePrefab=false) |
| | Sets a new Constant ID number.
|
| void | SetNewID_Prefab () |
|
| static HashSet< T > | GetComponents< T > (int constantIDValue) |
| | Gets all components in the Hierarchy that also have a ConstantID component on the same GameObject.
|
| static T | GetComponent< T > (int constantIDValue, GameObject root=null) |
| | Gets a component in the Hierarchy that also has a ConstantID component on the same GameObject.
|
| static ConstantID | GetComponent (int constantIDValue) |
| | Gets a ConstantID component in the Hierarchy with a given ID number.
|
| static HashSet< T > | GetComponents< T > (int constantIDValue, Scene scene) |
| | Gets all components of a particular type within the scene, with a given ConstantID number.
|
| static HashSet< T > | GetComponents< T > (Scene scene) |
| | Gets all components of a particular type within the scene. Only components with an associated ConstantID number will be returned.
|
| static T | GetComponent< T > (int constantIDValue, Scene scene, bool sceneOnlyPrioritises=false) |
| | Gets a component associated with a given ConstantID number, in a particular scene.
|
| static ConstantID | GetComponent (int constantIDValue, Scene scene, bool sceneOnlyPrioritises=false) |
| | Gets a ConstantID component ID number, in a particular scene.
|
|
static void | FindLocalReferences (MenuCommand command) |
|
static void | FindGlobalReferences (MenuCommand command) |
|
bool | savePrevented = false |