public void MoveComandCreate(Vector3 v)
        {
            ComandDataMove cmm = new ComandDataMove();

            cmm.Vector3 = v;

            ComandCreate(cmm, ThisFacade);
        }
Exemple #2
0
        protected override bool GetInputData(ComandDataBase comandData)
        {
            ComandDataMove comandDataMove = comandData as ComandDataMove;

            if (comandDataMove != null)
            {
                _targetVector3 = comandDataMove.Vector3;

                _isPfGet = comandDataMove.IsMoveByPathFind;

                if (comandDataMove.TransformParent != null)
                {
                    _parentTransform = comandDataMove.TransformParent;
                }
                else
                {
                    _parentTransform = null;
                }

                return(true);
            }

            return(false);
        }