Esempio n. 1
0
        public static CCCharacterMove GetSSAction(Vector3 target)
        {
            CCCharacterMove action = ScriptableObject.CreateInstance <CCCharacterMove>();

            action.target = target;
            action.mid    = target;
            return(action);
        }
Esempio n. 2
0
        public void moveCharacter(GameObject obj, Vector3 dest)
        {
            CCCharacterMove characterMove = CCCharacterMove.GetSSAction(dest);

            this.RunAction(obj, characterMove, this);
        }