Class ScriptableObjectPropertyContainer<TContainer>
Provides the necessary implementation to use properties and serialization with a ScriptableObject of type TContainer.
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 | 
|---|---|
| CreateAsset(string, Action<TContainer>) | Create a new asset instance saved to disk.  | 
      
| CreateAssetInActiveDirectory(string, Action<TContainer>) | Create a new asset instance saved to disk, in the active directory.  | 
      
| CreateInstance(Action<TContainer>) | Create a new instance.  | 
      
| DeserializeFromJson(TContainer, string) | Deserialize from a JSON string into the container.  | 
      
| DeserializeFromPath(TContainer, string) | Deserialize from a file into the container.  | 
      
| IsModified() | Determine if there is unsaved modifications.  | 
      
| LoadAsset(string) | Load an asset from the specified asset path.  | 
      
| LoadAsset(GUID) | Load an asset from the specified asset UnityEditor.GUID.  | 
      
| OnAfterDeserialize() | Implement this method to receive a callback after Unity deserializes your object.  | 
      
| OnBeforeSerialize() | Implement this method to receive a callback before Unity serializes your object.  | 
      
| Reset() | Reset this asset in preparation for deserialization.  | 
      
| RestoreAsset() | Restore this asset from disk.  | 
      
| Sanitize() | Sanitize this asset after deserialization.  | 
      
| SaveAsset(string) | Save this asset to disk. If no asset path is provided, asset is saved at its original location.  | 
      
| SerializeToJson() | Serialize this container to a JSON string.  | 
      
| SerializeToPath(string) | Serialize this container to a file.  |