I hereby claim:
- I am mikebairdrocks on github.
- I am mbaird (https://keybase.io/mbaird) on keybase.
- I have a public key ASDB8xdGFielIr0ck7zk274Kqt7AYdmEfOwPkh0exwW8lAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
[CustomEditor(typeof(GhostViewBase), true)] | |
public class GhostViewInspector : ViewInspector | |
{ | |
protected override void ViewModelPropertyGUILayout(FieldInfo field) | |
{ | |
if (field.Name == "_Color") | |
{ | |
var property = serializedObject.FindProperty(field.Name); | |
if (property == null) | |
return; |
private void DoGroupField(KeyValuePair<string, List<FieldInfo>> groupField, ViewBase t) | |
{ | |
if (EditorPrefs.GetBool(groupField.Key, false)) | |
{ | |
if (groupField.Key == "View Model Properties" && !(t.OverrideViewModel)) | |
return; | |
foreach (var field in groupField.Value) | |
{ | |
ViewModelPropertyGUILayout(field); |