diff --git a/Scripts/Logger/DebugLogPage.cs b/Scripts/Logger/DebugLogPage.cs index f061d17..7239c1d 100644 --- a/Scripts/Logger/DebugLogPage.cs +++ b/Scripts/Logger/DebugLogPage.cs @@ -72,7 +72,6 @@ private void Awake() entryPrefab.gameObject.SetActive(false); scrollRect.gameObject.SetActive(false); stackTraceContainer.gameObject.SetActive(false); - clearButton.interactable = false; clearButton.onClick.AddListener(Clear); var errorLogData = new LogTypeData(toggleErrorButton, errorIcon); @@ -144,7 +143,6 @@ private void Clear() allLogs.Clear(); - clearButton.interactable = false; scrollRect.gameObject.SetActive(false); } @@ -155,8 +153,6 @@ private void AddLogEntry(string text, string stackTrace, LogType logType) scrollRect.gameObject.SetActive(true); } - clearButton.interactable = true; - var logTypeData = logTypeDatas[logType]; var newLogEntry = Instantiate(entryPrefab, container, false); newLogEntry.transform.SetAsLastSibling();