コード例 #1
0
        /// <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);
        }
コード例 #2
0
        /// <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);
        }