C# Class SharpVectors.Scripting.ScriptableObject

Afficher le fichier Open project: codebutler/savagesvg

Méthodes publiques

Méthode Description
CreateWrapper ( object wrappableObject ) : ScriptableObject

Creates a new scriptable wrapper for the specified object. Use this function instead of calling the ScriptableObject constructor.

Equals ( Object obj ) : bool
GetHashCode ( ) : int
RemoveWrapper ( object wrappableObject ) : void

Removes the wrapper and base object key value pair. This function is called by the ScriptableObject destructor.

ScriptableObject ( ) : System

Base constructor, if used you must assign the baseObject after the call. This constructor should only be called internally. Higher order classes should construct new wrappers using the CreateWrapper function to allow for type lookups.

ScriptableObject ( object baseObject ) : System

Base constructor, accepts the baseObject that will be wrapped with all inherited calls. This constructor should only be called internally. Higher order classes should construct new wrappers using the CreateWrapper function to allow for type lookups.

operator ( ) : bool

Private Methods

Méthode Description
InitializeWrapperTypes ( ) : void

Builds the wrapper type table for static lookups

Method Details

CreateWrapper() public static méthode

Creates a new scriptable wrapper for the specified object. Use this function instead of calling the ScriptableObject constructor.
public static CreateWrapper ( object wrappableObject ) : ScriptableObject
wrappableObject object The object to wrap. It's type will be used as a key /// in a lookup for creating the correct wrappable type.
Résultat ScriptableObject

Equals() public méthode

public Equals ( Object obj ) : bool
obj Object
Résultat bool

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

RemoveWrapper() public static méthode

Removes the wrapper and base object key value pair. This function is called by the ScriptableObject destructor.
public static RemoveWrapper ( object wrappableObject ) : void
wrappableObject object The key object that was wrapped, to be removed.
Résultat void

ScriptableObject() public méthode

Base constructor, if used you must assign the baseObject after the call. This constructor should only be called internally. Higher order classes should construct new wrappers using the CreateWrapper function to allow for type lookups.
public ScriptableObject ( ) : System
Résultat System

ScriptableObject() public méthode

Base constructor, accepts the baseObject that will be wrapped with all inherited calls. This constructor should only be called internally. Higher order classes should construct new wrappers using the CreateWrapper function to allow for type lookups.
public ScriptableObject ( object baseObject ) : System
baseObject object The object to wrap with a scriptable object.
Résultat System

operator() public static méthode

public static operator ( ) : bool
Résultat bool