示例#1
0
 void Start()
 {
     instance = this;
     timer    = (new GameObject("timer")).AddComponent <ShermanLibr.Time>();
     StartCoroutine(timer.TimerStart(10));
 }
示例#2
0
 public void UpdateTimer()
 {
     Destroy(GameObject.Find("timer"));
     timer = (new GameObject("timer")).AddComponent <ShermanLibr.Time>();
 }
示例#3
0
文件: Timer.cs 项目: kotebot/Hasy
 public void Start()
 {
     time = new ShermanLibr.Time();//по факту изаю библиотеку
 }