Beispiel #1
0
 protected override void ControlPerFrame()
 {
     if (Input.GetButton("Fire2"))
     {
         Shooter?.ContinuousShoot();
     }
     else
     {
         if (Input.GetButtonDown("Fire1"))
         {
             Shooter?.Shoot();
         }
     }
 }