C# Class FullInspector.Modules.fiSerializerMigrationUtility

Afficher le fichier Open project: jacobdufault/fullinspector

Méthodes publiques

Méthode 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

Méthode Description
ChangeStates ( Object target, MethodInfo restoreState, MethodInfo saveState ) : void

Method Details

GetPersistentObjects() public static méthode

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

GetSceneObjects() public static méthode

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

MigrateUnityObject() public static méthode

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
Résultat void