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(); }
void Awake() { DontDestroyOnLoad(this.gameObject); GameLog.data = this; GameLog.INIT(); }