C# 클래스 Squared.Game.Animation.AnimationExtensions

파일 보기 프로젝트 열기: sq/Fracture

공개 메소드들

메소드 설명
Chain ( this first, Func second ) : IEnumerator
SwitchIf ( this root, Func leaf, Func predicate ) : IEnumerator
WatchPlayState ( this animation, Action playStateChanged ) : IEnumerator
WhenFinished ( this animation, System.Action action ) : IEnumerator

메소드 상세

Chain() 공개 정적인 메소드

public static Chain ( this first, Func second ) : IEnumerator
first this
second Func
리턴 IEnumerator

SwitchIf() 공개 정적인 메소드

public static SwitchIf ( this root, Func leaf, Func predicate ) : IEnumerator
root this
leaf Func
predicate Func
리턴 IEnumerator

WatchPlayState() 공개 정적인 메소드

public static WatchPlayState ( this animation, Action playStateChanged ) : IEnumerator
animation this
playStateChanged Action
리턴 IEnumerator

WhenFinished() 공개 정적인 메소드

public static WhenFinished ( this animation, System.Action action ) : IEnumerator
animation this
action System.Action
리턴 IEnumerator