C# 클래스 UIToggle, TheUnseen

상속: MonoBehaviour
파일 보기 프로젝트 열기: henryj41043/TheUnseen 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
activeAnimation Animation
activeSprite UIWidget,
current UIToggle,
group int
instantTween bool
list BetterList
onChange List
optionCanBeNone bool
startsActive bool

Private Properties

프로퍼티 타입 설명
OnClick void
OnDisable void
OnEnable void
Set void
Start void

공개 메소드들

메소드 설명
GetActiveToggle ( int group ) : UIToggle,

Return the first active toggle within the specified group.

비공개 메소드들

메소드 설명
OnClick ( ) : void

Check or uncheck on click.

OnDisable ( ) : void
OnEnable ( ) : void
Set ( bool state ) : void

Fade out or fade in the active sprite and notify the OnChange event listener.

Start ( ) : void

Activate the initial state.

메소드 상세

GetActiveToggle() 정적인 공개 메소드

Return the first active toggle within the specified group.
static public GetActiveToggle ( int group ) : UIToggle,
group int
리턴 UIToggle,

프로퍼티 상세

activeAnimation 공개적으로 프로퍼티

Animation to play on the active sprite, if any.
public Animation activeAnimation
리턴 Animation

activeSprite 공개적으로 프로퍼티

Sprite that's visible when the 'isActive' status is 'true'.
public UIWidget, activeSprite
리턴 UIWidget,

current 정적으로 공개적으로 프로퍼티

Current toggle that sent a state change notification.
static public UIToggle, current
리턴 UIToggle,

group 공개적으로 프로퍼티

If set to anything other than '0', all active toggles in this group will behave as radio buttons.
public int group
리턴 int

instantTween 공개적으로 프로퍼티

If checked, tween-based transition will be instant instead.
public bool instantTween
리턴 bool

list 정적으로 공개적으로 프로퍼티

List of all the active toggles currently in the scene.
static public BetterList list
리턴 BetterList

onChange 공개적으로 프로퍼티

Callbacks triggered when the toggle's state changes.
public List onChange
리턴 List

optionCanBeNone 공개적으로 프로퍼티

Can the radio button option be 'none'?
public bool optionCanBeNone
리턴 bool

startsActive 공개적으로 프로퍼티

Whether the toggle starts checked.
public bool startsActive
리턴 bool