void Start() { //GameObject script1 = this.GetComponent<playPhase> (); method = this.GetComponent<playPhase> (); breathInTimer = method.breathInTimer; breathOutTimer = method.breathOutTimer; fullBreath = method.fullBreathList.Last(); lightIntensity = 0.0f; brightest = true; }
void Start() { //GameObject script1 = this.GetComponent<playPhase> (); method = this.GetComponent <playPhase> (); breathInTimer = method.breathInTimer; breathOutTimer = method.breathOutTimer; fullBreath = method.fullBreathList.Last(); lightIntensity = 0.0f; brightest = true; }