C# Класс Squared.Game.Animation.AnimationExtensions

Показать файл Открыть проект

Открытые методы

Метод Описание
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