Пример #1
0
 public static void ScaleTo(this GameObject target, Vector3 scale, float time)
 {
     EGTween.ScaleTo(target, EGTween.Hash("scale", scale, "time", time));
 }
Пример #2
0
 public static void ScaleTo(this GameObject target, Hashtable args)
 {
     EGTween.ScaleTo(target, args);
 }
Пример #3
0
 /// <summary>
 /// Raises the enable event.
 /// </summary>
 void OnEnable()
 {
     EGTween.ScaleTo(gameObject, EGTween.Hash("x", 0, "y", 0, "time", 0.5f, "oncomplete", "DestroyObject", "oncompletetarget", gameObject));
 }