예제 #1
0
        public override void OnInspectorGUI()
        {
            base.OnInspectorGUI();

            if (EditorGUILayout.Toggle(isGray.displayName, isGray.boolValue))
            {
                gray.EnableGray();
            }
            else
            {
                gray.DisableGray();
            }
        }