void Start() { instance = this; timer = (new GameObject("timer")).AddComponent <ShermanLibr.Time>(); StartCoroutine(timer.TimerStart(10)); }
public void UpdateTimer() { Destroy(GameObject.Find("timer")); timer = (new GameObject("timer")).AddComponent <ShermanLibr.Time>(); }
public void Start() { time = new ShermanLibr.Time();//по факту изаю библиотеку }