예제 #1
0
 public void CLS()
 {
     for (i = 1; i < GameLog.AllTextOBJ.Count; i++)
     {
         Destroy(GameLog.AllTextOBJ[i].gameObject);
     }
     Content.sizeDelta = new Vector2(Content.sizeDelta.x, 0); Content.anchoredPosition = new Vector2(Content.anchoredPosition.x, 0);
     GameLog.INIT();
 }
예제 #2
0
 void Awake()
 {
     DontDestroyOnLoad(this.gameObject);
     GameLog.data = this;
     GameLog.INIT();
 }