public void SendRotateComand(IFacade facadeI, Vector3 vec) { ComandDataRotate cmm = new ComandDataRotate(); cmm.LookAtVector3 = vec; facadeI.ComandGet(cmm); }
protected override bool GetInputData(ComandDataBase comandData) { ComandDataRotate comandDataRotate = comandData as ComandDataRotate; if (comandDataRotate != null) { _targetVector3 = comandDataRotate.LookAtVector3; //StartCommando(); return(true); } return(false); }