/// <summary> /// iTweens ScaleFrom 封装 /// </summary> /// <param name="go"></param> /// <param name="amout"></param> /// <returns></returns> public static MyHashTable ScaleFrom(this GameObject go, Vector3 amout) { var table = new MyHashTable(go, "ScaleFrom", "scale", amout); return(table); }
/// <summary> /// iTweens MoveFrom 封装 /// </summary> /// <param name="go"></param> /// <param name="pos"></param> /// <returns></returns> public static MyHashTable MoveFrom(this GameObject go, Vector3 pos) { var table = new MyHashTable(go, "MoveFrom", "position", pos); return(table); }