public void LightTorch(LightSource torch) { if (!torch) { return; } tFireMax = thisLightSource.health; if (tFireMax > healthTakePerTorchLight && torch.health < torch.maxHealth) { thisLightSource.health -= healthTakePerTorchLight; torch.health += healthForTorchPerLight; } torch.Burn(); }
void Start() { thisLightSource.Burn(); }