Beispiel #1
0
 /// <summary>
 /// Gets the duration of the show animation.
 /// </summary>
 /// <returns>Time in seconds</returns>
 public float GetAnimationShowDuration()
 {
     return(_animationShow != null?_animationShow.GetDuration() : 0);
 }
Beispiel #2
0
 /// <summary>
 /// Gets the duration of the hide animation.
 /// </summary>
 /// <returns>Time in seconds</returns>
 public float GetAnimationHideDuration()
 {
     return(_animationHide != null?_animationHide.GetDuration() : 0);
 }