示例#1
0
 public void setMove(Vector3 rotation)
 {
     if (_myAgent.enabled == true)
     {
         _myAgent.SetDestination(transform.position);
         _myAgent.enabled = false;
     }
     _canMove = true;
     transform.LookAt(_shooterRef.transform);
     _myDumbState = DUMBSTATE.NONE;
 }
示例#2
0
 public void ShootMe(Quaternion Shootingrotation)
 {
     _canMove           = true;
     transform.rotation = _shooterRef.transform.rotation;
     _myDumbState       = DUMBSTATE.NONE;
 }