mattak / Unidux

Redux Architecture for Unity 🎩
MIT License
385 stars 27 forks source link

Render null class on StateEditor #116

Closed mattak closed 6 years ago

mattak commented 6 years ago

When state's some property is null, then StateEditor outputs error message. So avoid error and show some help message when state is null.

mattak commented 6 years ago

Memo

https://github.com/mattak/Unidux/blob/master/Assets/Plugins/Unidux/Scripts/Experimental/Editor/UniduxPanelStateTab.cs#L322

                else if (element == null)
                {
                    EditorGUILayout.HelpBox(new StringBuilder(name).Append(" is null").ToString(),
                        MessageType.Info);
                }
mattak commented 6 years ago

resolved by #120