// Start is called before the first frame update
 void Start()
 {
     rui                 = GameObject.Find("Heart_Score").GetComponent <RemainUI>();
     timer               = GameObject.Find("Timer").GetComponent <Timer>();
     timer_score_text    = this.GetComponent <Text>();
     add_timer_integer   = 0;
     calculate_max_timer = true;
 }
Exemple #2
0
 // Start is called before the first frame update
 void Start()
 {
     total_score_text = this.GetComponent <Text>();
     ts  = GameObject.Find("Timer").GetComponent <TimerScore>();
     rui = GameObject.Find("Heart_Score").GetComponent <RemainUI>();
     tt  = GameObject.Find("Timer_Score").GetComponent <TimerText>();
     is_text_ienumerator  = false;
     is_score_ienumerator = false;
     is_end_typing        = false;
     score = 0;
 }