Пример #1
0
 void TargetSwitchUpdate()
 {
     if (Input.GetButtonDown("Switch"))
     {
         playerstat.TargetSwitch();
     }
 }