private void GenerateResource() { if (SecurityRGU == false) { HackerManager.AddResourcePower(ResourceUnitsGenerated); } else { SecurityManager.AddResourcePower(ResourceUnitsGenerated); } }