Exemplo n.º 1
0
 void OnMouseDown()
 {
     if (camp != "Human")
     {
         if (Input.GetKey(KeyCode.Mouse0))
         {
             manager.Attack(this);
         }
     }
 }