Class SerializedObjectWrapperManager
- Namespace
- Ceres.Serialization.Editor
- Assembly
- Ceres.Editor.dll
Class to manage SerializedObjectWrapper
public static class SerializedObjectWrapperManager
- Inheritance
-
SerializedObjectWrapperManager
- Inherited Members
Methods
CreateFieldWrapper(FieldInfo, ref SoftObjectHandle)
Create an editor wrapper for providing FieldInfo and track it by SoftObjectHandle
public static SerializedObjectWrapper CreateFieldWrapper(FieldInfo fieldInfo, ref SoftObjectHandle softObjectHandle)
Parameters
fieldInfoFieldInfosoftObjectHandleSoftObjectHandle
Returns
CreateWrapper(Type, ref SoftObjectHandle)
Create an editor wrapper for providing Type and track it by SoftObjectHandle
public static SerializedObjectWrapper CreateWrapper(Type type, ref SoftObjectHandle softObjectHandle)
Parameters
typeTypesoftObjectHandleSoftObjectHandle
Returns
DestroyWrapper(SoftObjectHandle)
Manually destroy wrapper
public static void DestroyWrapper(SoftObjectHandle softObjectHandle)
Parameters
softObjectHandleSoftObjectHandle
GetWrapper(Type, SoftObjectHandle)
Get editor wrapper if exists
public static SerializedObjectWrapper GetWrapper(Type type, SoftObjectHandle softObjectHandle)
Parameters
typeTypesoftObjectHandleSoftObjectHandle