public void ShottedComand(IFacade facadeI) { ComandInDataShotted cshottd = new ComandInDataShotted(); //cmm.LookAtVector3 = vec; facadeI.ComandGet(cshottd); }
protected override bool GetInputData(ComandDataBase comandData) { ComandInDataShotted comandDataShotted = comandData as ComandInDataShotted; if (comandDataShotted != null) { Debug.Log(StateController.TransformModule.gameObject.name + " Shotted!"); //StateController.WeaponModule.SetPressedFlags(comandDataShotted.IsPrimaryPressed, comandDataAim.IsSecondaryPressed); return(true); //StartCommando(); } return(false); }