예제 #1
0
 private void TogglePriorityWindowActiveState(WindowController window)
 {
     if (window.ToggleWindowActiveState())
     {
         priorityWindowCount++;
     }
     else
     {
         priorityWindowCount--;
     }
 }
예제 #2
0
 public void ToggleWindowActiveState(WindowController window)
 {
     if (window.ToggleWindowActiveState())
     {
         activeWindows.Add(window);
     }
     else
     {
         activeWindows.Remove(window);
     }
     Debug.Log($"after {activeWindows.Count}");
 }