Class SaveIsEasyComponent
To save a GameObject you need this component
Inheritance
System.Object
SaveIsEasyComponent
Namespace: SaveIsEasy
Assembly: SaveIsEasyDLL.dll
Syntax
public class SaveIsEasyComponent : MonoBehaviour
Properties
Identifier
Returns the Identifier(ID) assigned to this SaveIsEasyComponent, is used to track this GameObject during its life. The ID may not correspond to the ID of the prefab, if the object is created in RunTime in the scene the ID will be the same as that of the prefab.
Declaration
public int Identifier { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | A number in the range of int.MinValue to int.MaxValue |
OnLoad
When a game is loaded the asset has to call Start() of all the scripts of this GameObject, this is slow, if it is not used it is recommended to turn off.
Declaration
public SaveIsEasyComponent.OnLoadEvent OnLoad { get; set; }
Property Value
Type | Description |
---|---|
SaveIsEasyComponent.OnLoadEvent |
Methods
IsRuntimeObject()
If this object was create at runtime
Declaration
public bool IsRuntimeObject()
Returns
Type | Description |
---|---|
System.Boolean | true is RunTime, false is BuildTime |