FairyGUI.Transition
class FairyGUI.Transition
Fields and Properties:
bool invalidateBatchingEveryFrame
- Description: If you have enabled automatic batching and your animation involves changes in XY position, size, rotation, etc., and you notice display depth errors during playback, you can enable this option.
string name
- Description: The name of the animation. This is set in the editor.
bool playing
- Description:
float totalDuration
- Description: transition's total duration, maybe zero when the transition only has one frame
float timeScale
- Description:
bool ignoreEngineTimeScale
- Description:
Constructors:
FairyGUI.Transition.New(FairyGUI.GComponent)
Methods:
void Play()
- Description:
void Play(FairyGUI.PlayCompleteCallback)
- Description:
- Parameter onComplete:
void Play(int, float, FairyGUI.PlayCompleteCallback)
- Description:
- Parameter times:
- Parameter delay:
- Parameter onComplete:
void Play(int, float, float, float, FairyGUI.PlayCompleteCallback)
- Description:
- Parameter times:
- Parameter delay:
- Parameter startTime:
- Parameter endTime:
- Parameter onComplete:
void PlayReverse()
- Description:
void PlayReverse(FairyGUI.PlayCompleteCallback)
- Description:
- Parameter onComplete:
void PlayReverse(int, float, FairyGUI.PlayCompleteCallback)
- Description:
- Parameter times:
- Parameter delay:
- Parameter onComplete:
void ChangePlayTimes(int)
- Description:
- Parameter value:
void SetAutoPlay(bool, int, float)
- Description: Sets whether the animation plays automatically.
- Parameter autoPlay:
- Parameter times:
- Parameter delay:
void Stop()
- Description:
void Stop(bool, bool)
- Description:
- Parameter setToComplete:
- Parameter processCallback:
void SetPaused(bool)
- Description:
- Parameter paused:
void Dispose()
void SetHook(string, FairyGUI.TransitionHook)
- Description:
- Parameter label:
- Parameter callback:
void ClearHooks()
- Description:
void SetTarget(string, FairyGUI.GObject)
- Description:
- Parameter label:
- Parameter newTarget:
void SetDuration(string, float)
- Description:
- Parameter label:
- Parameter value:
float GetLabelTime(string)
- Description:
- Parameter label:
- Return:
void OnTweenStart(FairyGUI.GTweener)
void OnTweenUpdate(FairyGUI.GTweener)
void OnTweenComplete(FairyGUI.GTweener)