C# 클래스 UIPanelBase, marblemadness

상속: MonoBehaviour, IUIContainer, IUIObject
파일 보기 프로젝트 열기: MtvnGames/marblemadness 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
deactivateAllOnDismiss bool
detargetOnDisable bool
index int

보호된 프로퍼티들

프로퍼티 타입 설명
changeDelegate EZValueChangedDelegate
childPanels EZLinkedList>
container IUIContainer
dragDropDelegate EZDragDropDelegate
inputDelegate EZInputDelegate
m_controlIsEnabled bool
m_started bool
prevTransIndex int
prevTransition EZTransition
tempTransCompleteDel TransitionCompleteDelegate
uiObjs EZLinkedList>

공개 메소드들

메소드 설명
AddChild ( GameObject go ) : void
AddDragDropDelegate ( EZDragDropDelegate del ) : void

Adds a delegate to be called with drag and drop notifications.

AddInputDelegate ( EZInputDelegate del ) : void
AddSubject ( GameObject go ) : void

Adds a GameObject as a subject of this panel's transitions.

AddTempTransitionDelegate ( TransitionCompleteDelegate del ) : void

Temporarily adds a delegate to be called when the next transition completes. This will be unset after it is called.

AddValueChangedDelegate ( EZValueChangedDelegate del ) : void
BringIn ( ) : void

Brings in the panel by playing its "Bring In Forward" transition.

CancelDrag ( ) : void
CompareIndices ( UIPanelBase, a, UIPanelBase, b ) : int
Dismiss ( ) : void

Dismisses the panel by playing its "Dismiss Forward" transition.

DragUpdatePosition ( POINTER_INFO, ptr ) : void
GetControl ( POINTER_INFO, &ptr ) : IUIObject
GetTransition ( UIPanelManager, transition ) : EZTransition

Returns a reference to the specified transition.

GetTransition ( int index ) : EZTransition

Returns a reference to the transition at the specified index.

GetTransition ( string transName ) : EZTransition

Returns a reference to the specified transition.

GetTransitionNames ( ) : string[]
GotFocus ( ) : bool
MakeChild ( GameObject go ) : void

Makes the specified GameObject a child of this panel, including making it a child of the panel's transform.

OnEZDragDrop_Internal ( EZDragDropParams, parms ) : void

Receives regular notification of drag & drop events pertaining to this object when an object is being dragged. This is called on potential drop targets when an object is dragged over them. It is also called on the object(s) being dragged/dropped.

OnInput ( POINTER_INFO, ptr ) : void
RemoveChild ( GameObject go ) : void
RemoveDragDropDelegate ( EZDragDropDelegate del ) : void

Removes a delegate from the list of those to be called with drag and drop notifications.

RemoveInputDelegate ( EZInputDelegate del ) : void
RemoveSubject ( GameObject go ) : void

Removes a GameObject as a subjects of this panel's transitions.

RemoveValueChangedDelegate ( EZValueChangedDelegate del ) : void
RequestContainership ( IUIContainer cont ) : bool
ScanChildren ( ) : void
SetDragDropDelegate ( EZDragDropDelegate del ) : void

Sets the delegate to be called with drag and drop notifications. NOTE: This will replace any previously registered delegates.

SetInputDelegate ( EZInputDelegate del ) : void
SetValueChangedDelegate ( EZValueChangedDelegate del ) : void
Start ( ) : void
StartTransition ( UIPanelManager, mode ) : void

Starts one of the panel's "bring in" or "dismiss" transitions.

StartTransition ( string transName ) : void

Starts the transition matching the specified name (case-insensitive).

TransitionCompleted ( EZTransition transition ) : void

보호된 메소드들

메소드 설명
OnDisable ( ) : void
SetupTransitionSubjects ( ) : void

메소드 상세

AddChild() 공개 메소드

public AddChild ( GameObject go ) : void
go GameObject
리턴 void

AddDragDropDelegate() 공개 메소드

Adds a delegate to be called with drag and drop notifications.
public AddDragDropDelegate ( EZDragDropDelegate del ) : void
del EZDragDropDelegate The delegate to add.
리턴 void

AddInputDelegate() 공개 메소드

public AddInputDelegate ( EZInputDelegate del ) : void
del EZInputDelegate
리턴 void

AddSubject() 공개 메소드

Adds a GameObject as a subject of this panel's transitions.
public AddSubject ( GameObject go ) : void
go GameObject GameObject to be added as a subject.
리턴 void

AddTempTransitionDelegate() 공개 메소드

Temporarily adds a delegate to be called when the next transition completes. This will be unset after it is called.
public AddTempTransitionDelegate ( TransitionCompleteDelegate del ) : void
del TransitionCompleteDelegate Delegate to be called.
리턴 void

AddValueChangedDelegate() 공개 메소드

public AddValueChangedDelegate ( EZValueChangedDelegate del ) : void
del EZValueChangedDelegate
리턴 void

BringIn() 공개 메소드

Brings in the panel by playing its "Bring In Forward" transition.
public BringIn ( ) : void
리턴 void

CancelDrag() 공개 메소드

public CancelDrag ( ) : void
리턴 void

CompareIndices() 공개 정적인 메소드

public static CompareIndices ( UIPanelBase, a, UIPanelBase, b ) : int
a UIPanelBase,
b UIPanelBase,
리턴 int

Dismiss() 공개 메소드

Dismisses the panel by playing its "Dismiss Forward" transition.
public Dismiss ( ) : void
리턴 void

DragUpdatePosition() 공개 메소드

public DragUpdatePosition ( POINTER_INFO, ptr ) : void
ptr POINTER_INFO,
리턴 void

GetControl() 공개 메소드

public GetControl ( POINTER_INFO, &ptr ) : IUIObject
ptr POINTER_INFO,
리턴 IUIObject

GetTransition() 공개 메소드

Returns a reference to the specified transition.
public GetTransition ( UIPanelManager, transition ) : EZTransition
transition UIPanelManager, The enum identifying the transition to retrieve.
리턴 EZTransition

GetTransition() 공개 메소드

Returns a reference to the transition at the specified index.
public GetTransition ( int index ) : EZTransition
index int The zero-based index of the transition to retrieve.
리턴 EZTransition

GetTransition() 공개 메소드

Returns a reference to the specified transition.
public GetTransition ( string transName ) : EZTransition
transName string The name of the transition to retrieve.
리턴 EZTransition

GetTransitionNames() 공개 메소드

public GetTransitionNames ( ) : string[]
리턴 string[]

GotFocus() 공개 메소드

public GotFocus ( ) : bool
리턴 bool

MakeChild() 공개 메소드

Makes the specified GameObject a child of this panel, including making it a child of the panel's transform.
public MakeChild ( GameObject go ) : void
go GameObject GameObject to make a child of the panel.
리턴 void

OnDisable() 보호된 메소드

protected OnDisable ( ) : void
리턴 void

OnEZDragDrop_Internal() 공개 메소드

Receives regular notification of drag & drop events pertaining to this object when an object is being dragged. This is called on potential drop targets when an object is dragged over them. It is also called on the object(s) being dragged/dropped.
public OnEZDragDrop_Internal ( EZDragDropParams, parms ) : void
parms EZDragDropParams, The EZDragDropParams structure which holds information about the event.
리턴 void

OnInput() 공개 메소드

public OnInput ( POINTER_INFO, ptr ) : void
ptr POINTER_INFO,
리턴 void

RemoveChild() 공개 메소드

public RemoveChild ( GameObject go ) : void
go GameObject
리턴 void

RemoveDragDropDelegate() 공개 메소드

Removes a delegate from the list of those to be called with drag and drop notifications.
public RemoveDragDropDelegate ( EZDragDropDelegate del ) : void
del EZDragDropDelegate The delegate to add.
리턴 void

RemoveInputDelegate() 공개 메소드

public RemoveInputDelegate ( EZInputDelegate del ) : void
del EZInputDelegate
리턴 void

RemoveSubject() 공개 메소드

Removes a GameObject as a subjects of this panel's transitions.
public RemoveSubject ( GameObject go ) : void
go GameObject GameObject to be removed as a subject.
리턴 void

RemoveValueChangedDelegate() 공개 메소드

public RemoveValueChangedDelegate ( EZValueChangedDelegate del ) : void
del EZValueChangedDelegate
리턴 void

RequestContainership() 공개 메소드

public RequestContainership ( IUIContainer cont ) : bool
cont IUIContainer
리턴 bool

ScanChildren() 공개 메소드

public ScanChildren ( ) : void
리턴 void

SetDragDropDelegate() 공개 메소드

Sets the delegate to be called with drag and drop notifications. NOTE: This will replace any previously registered delegates.
public SetDragDropDelegate ( EZDragDropDelegate del ) : void
del EZDragDropDelegate The delegate to add.
리턴 void

SetInputDelegate() 공개 메소드

public SetInputDelegate ( EZInputDelegate del ) : void
del EZInputDelegate
리턴 void

SetValueChangedDelegate() 공개 메소드

public SetValueChangedDelegate ( EZValueChangedDelegate del ) : void
del EZValueChangedDelegate
리턴 void

SetupTransitionSubjects() 보호된 메소드

protected SetupTransitionSubjects ( ) : void
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

StartTransition() 공개 메소드

Starts one of the panel's "bring in" or "dismiss" transitions.
public StartTransition ( UIPanelManager, mode ) : void
mode UIPanelManager, The mode corresponding to the transition that should be played.
리턴 void

StartTransition() 공개 메소드

Starts the transition matching the specified name (case-insensitive).
public StartTransition ( string transName ) : void
transName string The name of the transition to start. Ex: "Bring In Forward"
리턴 void

TransitionCompleted() 공개 메소드

public TransitionCompleted ( EZTransition transition ) : void
transition EZTransition
리턴 void

프로퍼티 상세

changeDelegate 보호되어 있는 프로퍼티

protected EZValueChangedDelegate changeDelegate
리턴 EZValueChangedDelegate

childPanels 보호되어 있는 프로퍼티

protected EZLinkedList> childPanels
리턴 EZLinkedList>

container 보호되어 있는 프로퍼티

protected IUIContainer container
리턴 IUIContainer

deactivateAllOnDismiss 공개적으로 프로퍼티

When true, will recursively set all child objects to inactive. Conversely, it will recursively set all child objects to active when brought in.
public bool deactivateAllOnDismiss
리턴 bool

detargetOnDisable 공개적으로 프로퍼티

When set to true, the control will instruct any pointers which have it as their target to de-target them. Use this if you are deactivating a control and want no input to go to it. It is strongly recommended NOT to use this feature on any control that appears in a scroll list, or else you may be unable to scroll past the edge of the list's viewable area.
public bool detargetOnDisable
리턴 bool

dragDropDelegate 보호되어 있는 프로퍼티

protected EZDragDropDelegate dragDropDelegate
리턴 EZDragDropDelegate

index 공개적으로 프로퍼티

The index of the panel in the optional UIPanelManager which manages it. This is an optional value that allows you to determine the order in which this panel will appear in a menu that is navigated without specifying the specific panels to go to, but rather moves to each panel based upon its index. If no default panel is specified in the UIPanelManager, the panel with the lowest index value will be the first panel shown.
public int index
리턴 int

inputDelegate 보호되어 있는 프로퍼티

protected EZInputDelegate inputDelegate
리턴 EZInputDelegate

m_controlIsEnabled 보호되어 있는 프로퍼티

protected bool m_controlIsEnabled
리턴 bool

m_started 보호되어 있는 프로퍼티

protected bool m_started
리턴 bool

prevTransIndex 보호되어 있는 프로퍼티

protected int prevTransIndex
리턴 int

prevTransition 보호되어 있는 프로퍼티

protected EZTransition prevTransition
리턴 EZTransition

tempTransCompleteDel 보호되어 있는 프로퍼티

protected TransitionCompleteDelegate tempTransCompleteDel
리턴 TransitionCompleteDelegate

uiObjs 보호되어 있는 프로퍼티

protected EZLinkedList> uiObjs
리턴 EZLinkedList>