예제 #1
0
        public void MoveComandCreate(Vector3 v)
        {
            ComandDataMove cmm = new ComandDataMove();

            cmm.Vector3 = v;

            ComandCreate(cmm, ThisFacade);
        }
예제 #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);
        }