private void TransitionOpition()
        {
            GUILayout.BeginVertical();
            transitionType = (Transition)EditorGUILayout.EnumPopup("Transition: ", transitionType);

            using (new EditorGUI.IndentLevelScope())
            {
                switch (transitionType)
                {
                case Transition.ColorTint:
                    colorBlock.Draw(); break;

                case Transition.SpriteSwap:
                    spriteBlock.Draw(); break;
                }

                if (transitionType != Owner.Button.transition)
                {
                    Owner.TransitionChange(transitionType);
                }

                if (transitionType != Transition.None)
                {
                    Owner.ApplyModifiedProperties();
                }
            }
            GUILayout.EndHorizontal();
        }
        public override void OnInspectorGUI()
        {
            base.OnInspectorGUI();

            TransitionOpition();

            onClickEvents.Draw();

            serializedObject.ApplyModifiedProperties();
        }