Class SerializableType<T>
A type object that can be serialized and deserialized by Unity.
Implements
Inherited Members
Namespace: LobsterFramework
Assembly: LobsterFramework.dll
Syntax
[Serializable]
public class SerializableType<T> : ISerializationCallbackReceiver
Type Parameters
Name | Description |
---|---|
T | Constraint to the value of this type object, only types that equals this type parameter or inherits from it can be stored in this object. |
Properties
| Improve this Doc View SourceType
Declaration
public Type Type { get; set; }
Property Value
Type | Description |
---|---|
Type |
Methods
| Improve this Doc View SourceOnAfterDeserialize()
Implement this method to receive a callback after Unity deserializes your object.
Declaration
public void OnAfterDeserialize()
OnBeforeSerialize()
Implement this method to receive a callback before Unity serializes your object.
Declaration
public void OnBeforeSerialize()