コード例 #1
0
 private void ClearLogs()
 {
     for (int i = DebugCmdContent.transform.childCount - 1; i >= 0; i--)
     {
         Destroy(DebugCmdContent.transform.GetChild(i).gameObject);
     }
     currentLogY = 0;
     currentLogX = 0;
     DebugCmdContent.sizeDelta = new Vector2(100, 30);
     GameLogger.ClearAllLogs();
     UpdateLogCount();
 }