// Use this for initialization void Start() { timeholder = GameObject.Find("timeButton"); changetime = timeholder.GetComponent <changeTime>(); }
private void Start() { changeTime = GetComponent <changeTime>(); }