protected void CheckIfUnlocked() { if (m_shouldCheckClearedLevels) { LogUtil.PrintInfo(this.gameObject, this.GetType(), "CheckIfUnlocked(): Latest Level cleared is: " + PlayerPrefsUtil.GetLatestLevel()); m_button.interactable = (m_sceneIndex <= (PlayerPrefsUtil.GetLatestLevel() + 1)); } else { LogUtil.PrintInfo(this.gameObject, this.GetType(), "CheckIfUnlocked(): NOT checking latest level cleared."); m_button.interactable = true; } }