Class VersionedScriptableObject
Base class for versioned scriptable objects.
Inheritance
Object
ScriptableObject
VersionedScriptableObject
Implements
Inherited Members
ScriptableObject.SetDirty()
ScriptableObject.CreateInstance<T>()
Object.GetInstanceID()
Object.GetHashCode()
Object.Instantiate(Object, Vector3, Quaternion)
Object.Instantiate(Object, Vector3, Quaternion, Transform)
Object.Instantiate(Object)
Object.Instantiate(Object, Transform)
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.Destroy(Object)
Object.DestroyImmediate(Object)
Object.DontDestroyOnLoad(Object)
Object.DestroyObject(Object)
Object.FindObjectsOfType<T>()
Object.FindObjectOfType<T>()
Object.ToString()
Object.name
Object.hideFlags
Namespace: InsaneScatterbrain.Versioning
Syntax
public abstract class VersionedScriptableObject : ScriptableObject, IVersioned
Properties
Version
Gets/sets the version.
Declaration
public Version Version { get; set; }
Property Value
Type | Description |
---|---|
Version |
Methods
CreateInstance<T>(Version)
Creates an instance of given type and initializes it with the given version.
Declaration
public static T CreateInstance<T>(Version version) where T : VersionedScriptableObject
Parameters
Type | Name | Description |
---|---|---|
Version | version | The version. |
Returns
Type | Description |
---|---|
T |
Type Parameters
Name | Description |
---|---|
T | The type of versioned scriptable object. |