C# 클래스 UIPlayAnimation, TheUnseen

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

공개 프로퍼티들

프로퍼티 타입 설명
animator Animator
clearSelection bool
clipName string
disableWhenFinished DisableCondition
ifDisabledOnPlay EnableCondition
onFinished List
playDirection Direction,
resetOnPlay bool
target Animation
trigger Trigger,

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
Awake ( ) : void
OnActivate ( bool isActive ) : void
OnClick ( ) : void
OnDoubleClick ( ) : void
OnDragOut ( ) : void
OnDragOver ( ) : void
OnDrop ( GameObject go ) : void
OnEnable ( ) : void
OnFinished ( ) : void

Callback triggered when each tween executed by this script finishes.

OnHover ( bool isOver ) : void
OnPress ( bool isPressed ) : void
OnSelect ( bool isSelected ) : void
Play ( bool forward ) : void

Start playing the animation.

Play ( bool forward, bool onlyIfDifferent ) : void

Start playing the animation.

Start ( ) : void

Automatically find the necessary components.

메소드 상세

Awake() 공개 메소드

public Awake ( ) : void
리턴 void

OnActivate() 공개 메소드

public OnActivate ( bool isActive ) : void
isActive bool
리턴 void

OnClick() 공개 메소드

public OnClick ( ) : void
리턴 void

OnDoubleClick() 공개 메소드

public OnDoubleClick ( ) : void
리턴 void

OnDragOut() 공개 메소드

public OnDragOut ( ) : void
리턴 void

OnDragOver() 공개 메소드

public OnDragOver ( ) : void
리턴 void

OnDrop() 공개 메소드

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

OnEnable() 공개 메소드

public OnEnable ( ) : void
리턴 void

OnFinished() 공개 메소드

Callback triggered when each tween executed by this script finishes.
public OnFinished ( ) : void
리턴 void

OnHover() 공개 메소드

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

OnPress() 공개 메소드

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

OnSelect() 공개 메소드

public OnSelect ( bool isSelected ) : void
isSelected bool
리턴 void

Play() 공개 메소드

Start playing the animation.
public Play ( bool forward ) : void
forward bool
리턴 void

Play() 공개 메소드

Start playing the animation.
public Play ( bool forward, bool onlyIfDifferent ) : void
forward bool
onlyIfDifferent bool
리턴 void

Start() 공개 메소드

Automatically find the necessary components.
public Start ( ) : void
리턴 void

프로퍼티 상세

animator 공개적으로 프로퍼티

Target animator system.
public Animator animator
리턴 Animator

clearSelection 공개적으로 프로퍼티

Whether the selected object (this button) will be cleared when the animation gets activated.
public bool clearSelection
리턴 bool

clipName 공개적으로 프로퍼티

Optional clip name, if the animation has more than one clip.
public string clipName
리턴 string

disableWhenFinished 공개적으로 프로퍼티

What to do with the target when the animation finishes.
public DisableCondition disableWhenFinished
리턴 DisableCondition

ifDisabledOnPlay 공개적으로 프로퍼티

What to do if the target game object is currently disabled.
public EnableCondition ifDisabledOnPlay
리턴 EnableCondition

onFinished 공개적으로 프로퍼티

Event delegates called when the animation finishes.
public List onFinished
리턴 List

playDirection 공개적으로 프로퍼티

Which direction to animate in.
public Direction, playDirection
리턴 Direction,

resetOnPlay 공개적으로 프로퍼티

Whether the animation's position will be reset on play or will continue from where it left off.
public bool resetOnPlay
리턴 bool

target 공개적으로 프로퍼티

Target animation to activate.
public Animation target
리턴 Animation

trigger 공개적으로 프로퍼티

Which event will trigger the animation.
public Trigger, trigger
리턴 Trigger,