Пример #1
0
 void Update()
 {
     if (Input.GetMouseButtonDown(0) && GM.GetComponent <status>().cankill)
     {
         Shoot();
     }
 }