C# Class FullInspector.Modules.fiSerializerMigrationUtility

Mostra file Open project: jacobdufault/fullinspector

Public Methods

Method Description
GetPersistentObjects ( ) : List

Returns all persistent objects that use Full Inspector.

GetSceneObjects ( ) : List

Returns all scene specific objects that use Full Inspector.

MigrateUnityObject ( Object obj, Type fromSerializer, Type toSerializer ) : void

Changes the serialization data for the given GameObject.

Private Methods

Method Description
ChangeStates ( Object target, MethodInfo restoreState, MethodInfo saveState ) : void

Method Details

GetPersistentObjects() public static method

Returns all persistent objects that use Full Inspector.
public static GetPersistentObjects ( ) : List
return List

GetSceneObjects() public static method

Returns all scene specific objects that use Full Inspector.
public static GetSceneObjects ( ) : List
return List

MigrateUnityObject() public static method

Changes the serialization data for the given GameObject.
public static MigrateUnityObject ( Object obj, Type fromSerializer, Type toSerializer ) : void
obj UnityEngine.Object
fromSerializer System.Type The current serializer
toSerializer System.Type The new serializer
return void