public void setDuration(float i) { Debug.Log("Burn time set to: " + i + " for unit" + gameObject.name); duration = i; }