Пример #1
0
 // Use this for initialization
 void Start()
 {
     timeholder = GameObject.Find("timeButton");
     changetime = timeholder.GetComponent <changeTime>();
 }
Пример #2
0
 private void Start()
 {
     changeTime = GetComponent <changeTime>();
 }