C# 클래스 Foundation.Databinding.BindingBase

상속: UnityEngine.MonoBehaviour, IBindingElement
파일 보기 프로젝트 열기: NVentimiglia/Unity3d-Foundation 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
BindingProxy UnityEngine.GameObject
DebugMode bool

보호된 프로퍼티들

프로퍼티 타입 설명
_infoCache BindingInfo[]

공개 메소드들

메소드 설명
GetBindingInfos ( ) : BindingInfo[]

Returns binding listeners

Init ( ) : void

And setup logic here

Add Bindings

OnBindingMessage ( ObservableMessage m ) : void

Handle all change notification here

OnBindingRefresh ( ) : void

보호된 메소드들

메소드 설명
BeforeModelChanged ( ) : void

Any cleanup logic goes here

GetValue ( string memberName ) : object

helper. Calls the GetValue method on the Model

GetValue ( string memberName, object argument ) : object

helper. Calls the GetValue method on the Model

OnApplicationQuit ( ) : void

Handles UnityEngine ApplicationQuit event

OnDisable ( ) : void

release from _root

OnEnable ( ) : void

find _root and bind

OnModelChanged ( ) : void

Any setup logic for the model goes here

SetValue ( string memberName, object argument ) : void

helper. Calls the SetValue method on the model

비공개 메소드들

메소드 설명
DebugInfo ( ) : void
FindContext ( ) : void

메소드 상세

BeforeModelChanged() 보호된 메소드

Any cleanup logic goes here
protected BeforeModelChanged ( ) : void
리턴 void

GetBindingInfos() 공개 메소드

Returns binding listeners
public GetBindingInfos ( ) : BindingInfo[]
리턴 BindingInfo[]

GetValue() 보호된 메소드

helper. Calls the GetValue method on the Model
protected GetValue ( string memberName ) : object
memberName string
리턴 object

GetValue() 보호된 메소드

helper. Calls the GetValue method on the Model
protected GetValue ( string memberName, object argument ) : object
memberName string
argument object
리턴 object

Init() 공개 추상적인 메소드

And setup logic here
Add Bindings
public abstract Init ( ) : void
리턴 void

OnApplicationQuit() 보호된 메소드

Handles UnityEngine ApplicationQuit event
protected OnApplicationQuit ( ) : void
리턴 void

OnBindingMessage() 공개 메소드

Handle all change notification here
public OnBindingMessage ( ObservableMessage m ) : void
m ObservableMessage
리턴 void

OnBindingRefresh() 공개 메소드

public OnBindingRefresh ( ) : void
리턴 void

OnDisable() 보호된 메소드

release from _root
protected OnDisable ( ) : void
리턴 void

OnEnable() 보호된 메소드

find _root and bind
protected OnEnable ( ) : void
리턴 void

OnModelChanged() 보호된 메소드

Any setup logic for the model goes here
protected OnModelChanged ( ) : void
리턴 void

SetValue() 보호된 메소드

helper. Calls the SetValue method on the model
protected SetValue ( string memberName, object argument ) : void
memberName string
argument object
리턴 void

프로퍼티 상세

BindingProxy 공개적으로 프로퍼티

For binding to another object within the ui hierarchy
For Master / Details situations.
public GameObject,UnityEngine BindingProxy
리턴 UnityEngine.GameObject

DebugMode 공개적으로 프로퍼티

Prints Debug messages. This can get spammy.
public bool DebugMode
리턴 bool

_infoCache 보호되어 있는 프로퍼티

protected BindingInfo[] _infoCache
리턴 BindingInfo[]