C# 클래스 UIButton, Hero.Coli

상속: UIElement
파일 보기 프로젝트 열기: CyberCRI/Hero.Coli 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
disabledColor Color

공개 메소드들

메소드 설명
OnHover ( bool isOver ) : void
OnPress ( bool isPressed ) : void
UpdateColor ( bool shouldBeEnabled, bool immediate ) : void

Update the button's color to either enabled or disabled state.

보호된 메소드들

메소드 설명
OnEnable ( ) : void

If the collider is disabled, assume the disabled color.

메소드 상세

OnEnable() 보호된 메소드

If the collider is disabled, assume the disabled color.
protected OnEnable ( ) : void
리턴 void

OnHover() 공개 메소드

public OnHover ( bool isOver ) : void
isOver bool
리턴 void

OnPress() 공개 메소드

public OnPress ( bool isPressed ) : void
isPressed bool
리턴 void

UpdateColor() 공개 메소드

Update the button's color to either enabled or disabled state.
public UpdateColor ( bool shouldBeEnabled, bool immediate ) : void
shouldBeEnabled bool
immediate bool
리턴 void

프로퍼티 상세

disabledColor 공개적으로 프로퍼티

Color that will be applied when the button is disabled.
public Color disabledColor
리턴 Color