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>();
 }
Example #3
0
 public void Start()
 {
     time = new ShermanLibr.Time();//по факту изаю библиотеку
 }