Example #1
0
 public void RecyclePowerup(Powerup powerup)
 {
     powerup.Disable();
     {
         if (MatchSystem.instance.ServerOwner)
         {
             powerup.gameObject.GetComponent <NetworkIdentity>().Owner = true;
             powerup.gameObject.SetActive(false);
         }
     }
 }