Example #1
0
 void FixedUpdate()
 {
     shootableMask = 1 << 8;
     //Will only shoot if the flashlight is on
     if (flash.IsOn())
     {
         Shoot();
     }
 }