Class ScriptableObjectPropertyContainer<TContainer>
Provides the necessary implementation to use properties and serialization with a ScriptableTContainer
.
Implements
Inherited Members
Namespace: Unity.Build
Assembly: solution.dll
Syntax
[Serializable]
public abstract class ScriptableObjectPropertyContainer<TContainer> : ScriptableObject, ISerializationCallbackReceiver where TContainer : ScriptableObjectPropertyContainer<TContainer>
Type Parameters
Name | Description |
---|---|
TContainer | The type of the container. |
Methods
Name | Description |
---|---|
Create |
Create a new asset instance saved to disk. |
Create |
Create a new asset instance saved to disk, in the active directory. |
Create |
Create a new instance. |
Deserialize |
Deserialize from a JSON string into the container. |
Deserialize |
Deserialize from a file into the container. |
Is |
Determine if there is unsaved modifications. |
Load |
Load an asset from the specified asset path. |
Load |
Load an asset from the specified asset Unity |
On |
Implement this method to receive a callback after Unity deserializes your object. |
On |
Implement this method to receive a callback before Unity serializes your object. |
Reset() | Reset this asset in preparation for deserialization. |
Restore |
Restore this asset from disk. |
Sanitize() | Sanitize this asset after deserialization. |
Save |
Save this asset to disk. If no asset path is provided, asset is saved at its original location. |
Serialize |
Serialize this container to a JSON string. |
Serialize |
Serialize this container to a file. |