Метод | Описание | |
---|---|---|
Deserialize ( |
Deserialize the given serialized content.
|
|
Serialize ( |
Serialize the given object into a string.
|
Метод | Описание | |
---|---|---|
GetStorageType ( |
Helper function that returns the type of object stored within the given member.
|
public abstract Deserialize ( |
||
storageType | /// The type of field/property that is storing this value. For example, /// an object field may be storing an int instance. In that case, /// storageType will be typeof(object), while value.GetType() will result /// in typeof(int). /// | |
serializedState | string | /// The serialized state of the object, created by calling /// Serialize(target). /// |
serializationOperator | ISerializationOperator | /// Contains implementations for common serialization operations, such as /// storing a UnityObject reference. /// |
Результат | object |
protected static GetStorageType ( |
||
member | ||
Результат |
public abstract Serialize ( |
||
storageType | /// The type of field/property that is storing this value. For example, /// an object field may be storing an int instance. In that case, /// storageType will be typeof(object), while value.GetType() will result /// in typeof(int). /// | |
value | object | The object to serialize. |
serializationOperator | ISerializationOperator | /// Contains implementations for common serialization operations, such as /// storing a UnityObject reference. /// |
Результат | string |