상속: MonoBehaviour
    //---------------------------------------------------------------------------
    // User interface.
    //---------------------------------------------------------------------------
    private void UpdateCaches()
    {
        if (effect == null)
        {
            effect = Camera.main.GetComponent <ColorBlindnessEffect>();
            if (effect == null)
            {
                enabled = false;
                return;
            }
        }

        if (window == null)
        {
            window = GUI.skin.window;
        }

        if (leftButton == null)
        {
            leftButton = new GUIStyle(GUI.skin.button)
            {
                name      = "LeftButton",
                alignment = TextAnchor.MiddleLeft
            };
        }

        if (sWidth != Screen.width)
        {
            sWidth = Screen.width;
            float w = windowRect.width;
            windowRect.xMin = sWidth - (windowOffsetX + w);
            windowRect.xMax = windowRect.xMin + w;
        }
    }
    //---------------------------------------------------------------------------
    // User interface.
    //---------------------------------------------------------------------------
    private void UpdateCaches()
    {
        if(effect == null) {
          effect = Camera.main.GetComponent<ColorBlindnessEffect>();
          if(effect == null) {
        enabled = false;
        return;
          }
        }

        if(window == null)
          window = GUI.skin.window;

        if(leftButton == null) {
          leftButton = new GUIStyle(GUI.skin.button) {
        name = "LeftButton",
        alignment = TextAnchor.MiddleLeft
          };
        }

        if(sWidth != Screen.width) {
          sWidth = Screen.width;
          float w = windowRect.width;
          windowRect.xMin = sWidth - (windowOffsetX + w);
          windowRect.xMax = windowRect.xMin + w;
        }
    }