private void OnEnable() { _handler = target as SimpleIntentHandler; // Setup field gui if (_fieldGUI == null) { _fieldGUI = new FieldGUI(); _fieldGUI.onCustomGuiLayout = OnInspectorCustomGUI; _fieldGUI.onAdditionalGuiLayout = OnInspectorAdditionalGUI; } }
private void OnEnable() { handler = target as SimpleIntentHandler; }