Table of Contents

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

fieldInfo FieldInfo
softObjectHandle SoftObjectHandle

Returns

SerializedObjectWrapper

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

type Type
softObjectHandle SoftObjectHandle

Returns

SerializedObjectWrapper

DestroyWrapper(SoftObjectHandle)

Manually destroy wrapper

public static void DestroyWrapper(SoftObjectHandle softObjectHandle)

Parameters

softObjectHandle SoftObjectHandle

GetWrapper(Type, SoftObjectHandle)

Get editor wrapper if exists

public static SerializedObjectWrapper GetWrapper(Type type, SoftObjectHandle softObjectHandle)

Parameters

type Type
softObjectHandle SoftObjectHandle

Returns

SerializedObjectWrapper