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