C# 클래스 SharpVectors.Scripting.ScriptableObject

파일 보기 프로젝트 열기: codebutler/savagesvg

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
InitializeWrapperTypes ( ) : void

Builds the wrapper type table for static lookups

메소드 상세

CreateWrapper() 공개 정적인 메소드

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.
리턴 ScriptableObject

Equals() 공개 메소드

public Equals ( Object obj ) : bool
obj Object
리턴 bool

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

RemoveWrapper() 공개 정적인 메소드

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.
리턴 void

ScriptableObject() 공개 메소드

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
리턴 System

ScriptableObject() 공개 메소드

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.
리턴 System

operator() 공개 정적인 메소드

public static operator ( ) : bool
리턴 bool