コード例 #1
0
 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;
 }
コード例 #2
0
 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;
 }