Beispiel #1
0
 public void ResetToSavedPropertiesGraceful(float duration = 0.3f)
 {
     PositionTweener.ResetPropertyGraceful(duration);
     AnchorsTweener.ResetPropertyGraceful(duration);
     RotationTweener.ResetPropertyGraceful(duration);
     SizeTweener.ResetPropertyGraceful(duration);
     ScaleTweener.ResetPropertyGraceful(duration);
     AlphaTweener.ResetPropertyGraceful(duration);
 }
Beispiel #2
0
 public void ResetToSavedProperties()
 {
     PositionTweener.ResetProperty();
     AnchorsTweener.ResetProperty();
     RotationTweener.ResetProperty();
     SizeTweener.ResetProperty();
     ScaleTweener.ResetProperty();
     AlphaTweener.ResetProperty();
 }
Beispiel #3
0
 public void SaveProperties()
 {
     PositionTweener.SaveProperty();
     AnchorsTweener.SaveProperty();
     RotationTweener.SaveProperty();
     SizeTweener.SaveProperty();
     ScaleTweener.SaveProperty();
     AlphaTweener.SaveProperty();
 }
Beispiel #4
0
 public void Stop(bool reset = false)
 {
     PositionTweener.StopTween(reset);
     AnchorsTweener.StopTween(reset);
     RotationTweener.StopTween(reset);
     SizeTweener.StopTween(reset);
     ScaleTweener.StopTween(reset);
     AlphaTweener.StopTween(reset);
 }
Beispiel #5
0
 public void Rotate(Vector3 rotation, UIAnimationDirection animationDirection = UIAnimationDirection.From,
                    Action callback = null, UIAnimationOptions animationOptions = null)
 {
     RotationTweener.Tween(rotation, animationDirection, callback, animationOptions);
 }