Astra Unity 2.6.6
Astra Unity Plugin
|
Used on classes that need to be aware of when scenes are saved or loaded This is useful in the Unity Editor environment so Astra textures are not written to disk in the scene memory More...
Public Member Functions | |
void | OnBeforeSceneSerialize () |
Fired before a scene is saved in the Unity Editor NOTE: this is never fired in runtime builds More... | |
void | OnAfterSceneDeserialize () |
Fired after a scene has loaded NOTE: this IS fired in both the Unity Editor and runtime builds More... | |
bool | IsSceneSerialized () |
Tells the system if the object has been serialized or not. This should report True if and only if OnBeforeSceneSerialize was triggered and serialized and it has not yet been deserialized More... | |
Used on classes that need to be aware of when scenes are saved or loaded This is useful in the Unity Editor environment so Astra textures are not written to disk in the scene memory
bool Astra.Asset.ISceneSerializable.IsSceneSerialized | ( | ) |
Tells the system if the object has been serialized or not. This should report True if and only if OnBeforeSceneSerialize was triggered and serialized and it has not yet been deserialized
Implemented in Astra.Asset.CompoundItem, Astra.Asset.DecalItem, and Astra.Asset.MaterialItem.
void Astra.Asset.ISceneSerializable.OnAfterSceneDeserialize | ( | ) |
Fired after a scene has loaded NOTE: this IS fired in both the Unity Editor and runtime builds
Implemented in Astra.Asset.CompoundItem, Astra.Asset.DecalItem, and Astra.Asset.MaterialItem.
void Astra.Asset.ISceneSerializable.OnBeforeSceneSerialize | ( | ) |
Fired before a scene is saved in the Unity Editor NOTE: this is never fired in runtime builds
Implemented in Astra.Asset.CompoundItem, Astra.Asset.DecalItem, and Astra.Asset.MaterialItem.