private void OnGUI()
    {
        EditorGUILayout.BeginVertical();
        {
            GUILayout.FlexibleSpace();

            GUILayout.Label("Creating input node of type :");
            m_Type = (TextureCreatorComponentContainerModifierTypes)EditorGUILayout.EnumPopup(m_Type);

            if (GUILayout.Button("Create"))
            {
                m_ModifierCallback.Invoke(m_Type);
                Close();
            }

            GUILayout.FlexibleSpace();
        }
        EditorGUILayout.EndVertical();
    }
 public void Initialize(Action <TextureCreatorComponentContainerModifierTypes?> callback)
 {
     m_ModifierCallback = callback;
     m_Type             = TextureCreatorComponentContainerModifierTypes.Offset;
 }