C# 클래스 Nez.Tweens.TweenManager

상속: IUpdatableManager
파일 보기 프로젝트 열기: prime31/Nez 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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