示例#1
0
 public void Clear()
 {
     Time.timeScale = 0.1f;
     StartCoroutine(this.DelayMethod(0.3f, () =>
     {
         ClearObjs.ForEach(go => go.SetActive(true));
         Time.timeScale = 1;
     }));
 }
示例#2
0
 void Start()
 {
     PauseObjs.ForEach(go => go.SetActive(false));
     GameOverObjs.ForEach(go => go.SetActive(false));
     ClearObjs.ForEach(go => go.SetActive(false));
 }