C# Class FairyGUI.Transition

Afficher le fichier Open project: fairygui/FairyGUI-unity Class Usage Examples

Méthodes publiques

Свойство Type Description
autoPlayDelay float
autoPlayRepeat int
invalidateBatchingEveryFrame bool

Méthodes publiques

Méthode Description
ApplyValue ( TransitionItem item, TransitionValue value ) : void
CheckAllComplete ( ) : void
ClearHooks ( ) : void

Copy ( Transition source ) : void

DecodeValue ( TransitionActionType type, string str, TransitionValue value ) : void
Dispose ( ) : void
InternalPlay ( float delay ) : void
Play ( ) : void

Play ( PlayCompleteCallback onComplete ) : void

Play ( int times, float delay, PlayCompleteCallback onComplete ) : void

PlayReverse ( ) : void

PlayReverse ( PlayCompleteCallback onComplete ) : void

PlayReverse ( int times, float delay, PlayCompleteCallback onComplete ) : void

SetDuration ( string label, float value ) : void

SetHook ( string label, TransitionHook callback ) : void

SetTarget ( string label, GObject newTarget ) : void

SetValue ( string label ) : void

Setup ( XML xml ) : void
StartTween ( TransitionItem item, float delay ) : void
Stop ( ) : void

Stop ( bool setToComplete, bool processCallback ) : void

StopItem ( TransitionItem item, bool setToComplete ) : void
Transition ( GComponent owner ) : System
_Play ( int times, float delay, PlayCompleteCallback onComplete, bool reverse ) : void
__playTransComplete ( TransitionItem item ) : void
tweenComplete ( TransitionItem item ) : void

Private Methods

Méthode Description
ShakeItem ( TransitionItem item ) : void
UpdateFromRelations ( string targetId, float dx, float dy ) : void

Method Details

ApplyValue() public méthode

public ApplyValue ( TransitionItem item, TransitionValue value ) : void
item TransitionItem
value TransitionValue
Résultat void

CheckAllComplete() public méthode

public CheckAllComplete ( ) : void
Résultat void

ClearHooks() public méthode

public ClearHooks ( ) : void
Résultat void

Copy() public méthode

public Copy ( Transition source ) : void
source Transition
Résultat void

DecodeValue() public méthode

public DecodeValue ( TransitionActionType type, string str, TransitionValue value ) : void
type TransitionActionType
str string
value TransitionValue
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

InternalPlay() public méthode

public InternalPlay ( float delay ) : void
delay float
Résultat void

Play() public méthode

public Play ( ) : void
Résultat void

Play() public méthode

public Play ( PlayCompleteCallback onComplete ) : void
onComplete PlayCompleteCallback
Résultat void

Play() public méthode

public Play ( int times, float delay, PlayCompleteCallback onComplete ) : void
times int
delay float
onComplete PlayCompleteCallback
Résultat void

PlayReverse() public méthode

public PlayReverse ( ) : void
Résultat void

PlayReverse() public méthode

public PlayReverse ( PlayCompleteCallback onComplete ) : void
onComplete PlayCompleteCallback
Résultat void

PlayReverse() public méthode

public PlayReverse ( int times, float delay, PlayCompleteCallback onComplete ) : void
times int
delay float
onComplete PlayCompleteCallback
Résultat void

SetDuration() public méthode

public SetDuration ( string label, float value ) : void
label string
value float
Résultat void

SetHook() public méthode

public SetHook ( string label, TransitionHook callback ) : void
label string
callback TransitionHook
Résultat void

SetTarget() public méthode

public SetTarget ( string label, GObject newTarget ) : void
label string
newTarget GObject
Résultat void

SetValue() public méthode

public SetValue ( string label ) : void
label string
Résultat void

Setup() public méthode

public Setup ( XML xml ) : void
xml FairyGUI.Utils.XML
Résultat void

StartTween() public méthode

public StartTween ( TransitionItem item, float delay ) : void
item TransitionItem
delay float
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void

Stop() public méthode

public Stop ( bool setToComplete, bool processCallback ) : void
setToComplete bool
processCallback bool
Résultat void

StopItem() public méthode

public StopItem ( TransitionItem item, bool setToComplete ) : void
item TransitionItem
setToComplete bool
Résultat void

Transition() public méthode

public Transition ( GComponent owner ) : System
owner GComponent
Résultat System

_Play() public méthode

public _Play ( int times, float delay, PlayCompleteCallback onComplete, bool reverse ) : void
times int
delay float
onComplete PlayCompleteCallback
reverse bool
Résultat void

__playTransComplete() public méthode

public __playTransComplete ( TransitionItem item ) : void
item TransitionItem
Résultat void

tweenComplete() public méthode

public tweenComplete ( TransitionItem item ) : void
item TransitionItem
Résultat void

Property Details

autoPlayDelay public_oe property

自动播放的延迟时间。
public float autoPlayDelay
Résultat float

autoPlayRepeat public_oe property

自动播放的次数。
public int autoPlayRepeat
Résultat int

invalidateBatchingEveryFrame public_oe property

当你启动了自动合批,动效里有涉及到XY、大小、旋转等的改变,如果你观察到元件的显示深度在播放过程中有错误,可以开启这个选项。
public bool invalidateBatchingEveryFrame
Résultat bool