protected override void DrawPropertyLayout(IPropertyValueEntry <int> entry, NotOneAttribute attribute, GUIContent label)
        {
            SirenixEditorGUI.BeginBox();
            {
                if (entry.SmartValue == 1)
                {
                    // Odin Scene Validator will listen for calls to SirenixEditorGUI.WarningMessageBox and SirenixEditorGUI.ErrorMessageBox,
                    // so as long as you're just calling one of those two functions, the Scene Validator will catch it.
                    SirenixEditorGUI.ErrorMessageBox("1 is not a valid value.");
                }
                else
                {
                    SirenixEditorGUI.InfoMessageBox("Value is not 1 and therefore valid.");
                }

                // Continue the drawer chain.
                this.CallNextDrawer(entry, label);

                // Button for opening the Odin Scene Validator window.
                if (GUILayout.Button("Open Odin Scene Validator"))
                {
                    OdinSceneValidatorWindow.OpenWindow();
                }
            }
            SirenixEditorGUI.EndBox();
        }
 private static void OpenOdinSceneValidator()
 {
     OdinSceneValidatorWindow.OpenWindow();
 }