C# Класс Nez.Tweens.TweenManager

Наследование: IUpdatableManager
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
cacheColorTweens bool
cacheFloatTweens bool
cacheIntTweens bool
cacheQuaternionTweens bool
cacheRectTweens bool
cacheVector2Tweens bool
cacheVector3Tweens bool
cacheVector4Tweens bool
defaultEaseType EaseType
removeAllTweensOnLevelLoad bool

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

Метод Описание
TweenManager ( ) : System.Collections.Generic
addTween ( ITweenable tween ) : void

adds a tween to the active tweens list

allTweensWithContext ( object context ) : List

returns all the tweens that have a specific context. Tweens are returned as ITweenable since that is all that TweenManager knows about.

allTweensWithTarget ( object target ) : List

returns all the tweens that have a specific target. Tweens are returned as ITweenControl since that is all that TweenManager knows about.

removeTween ( ITweenable tween ) : void

removes a tween from the active tweens list

stopAllTweens ( bool bringToCompletion = false ) : void

stops all tweens optionlly bringing them all to completion

stopAllTweensWithContext ( object context, bool bringToCompletion = false ) : void

stops all the tweens with a given context

stopAllTweensWithTarget ( object target, bool bringToCompletion = false ) : void

stops all the tweens that have a specific target that TweenManager knows about.

Приватные методы

Метод Описание
IUpdatableManager ( ) : void

Описание методов

TweenManager() публичный Метод

public TweenManager ( ) : System.Collections.Generic
Результат System.Collections.Generic

addTween() публичный статический Метод

adds a tween to the active tweens list
public static addTween ( ITweenable tween ) : void
tween ITweenable Tween.
Результат void

allTweensWithContext() публичный статический Метод

returns all the tweens that have a specific context. Tweens are returned as ITweenable since that is all that TweenManager knows about.
public static allTweensWithContext ( object context ) : List
context object Context.
Результат List

allTweensWithTarget() публичный статический Метод

returns all the tweens that have a specific target. Tweens are returned as ITweenControl since that is all that TweenManager knows about.
public static allTweensWithTarget ( object target ) : List
target object target.
Результат List

removeTween() публичный статический Метод

removes a tween from the active tweens list
public static removeTween ( ITweenable tween ) : void
tween ITweenable Tween.
Результат void

stopAllTweens() публичный статический Метод

stops all tweens optionlly bringing them all to completion
public static stopAllTweens ( bool bringToCompletion = false ) : void
bringToCompletion bool If set to true bring to completion.
Результат void

stopAllTweensWithContext() публичный статический Метод

stops all the tweens with a given context
public static stopAllTweensWithContext ( object context, bool bringToCompletion = false ) : void
context object Context.
bringToCompletion bool
Результат void

stopAllTweensWithTarget() публичный статический Метод

stops all the tweens that have a specific target that TweenManager knows about.
public static stopAllTweensWithTarget ( object target, bool bringToCompletion = false ) : void
target object target.
bringToCompletion bool
Результат void

Описание свойств

cacheColorTweens публичное статическое свойство

public static bool cacheColorTweens
Результат bool

cacheFloatTweens публичное статическое свойство

public static bool cacheFloatTweens
Результат bool

cacheIntTweens публичное статическое свойство

automatic caching of various types is supported here. Note that caching will only work when using extension methods to start the tweens or if you fetch a tween from the cache when doing custom tweens. See the extension method implementations for how to fetch a cached tween.
public static bool cacheIntTweens
Результат bool

cacheQuaternionTweens публичное статическое свойство

public static bool cacheQuaternionTweens
Результат bool

cacheRectTweens публичное статическое свойство

public static bool cacheRectTweens
Результат bool

cacheVector2Tweens публичное статическое свойство

public static bool cacheVector2Tweens
Результат bool

cacheVector3Tweens публичное статическое свойство

public static bool cacheVector3Tweens
Результат bool

cacheVector4Tweens публичное статическое свойство

public static bool cacheVector4Tweens
Результат bool

defaultEaseType публичное статическое свойство

public static EaseType defaultEaseType
Результат EaseType

removeAllTweensOnLevelLoad публичное статическое свойство

if true, the active tween list will be cleared when a new level loads
public static bool removeAllTweensOnLevelLoad
Результат bool