예제 #1
0
        private void OnEnable()
        {
            _handler = target as SimpleIntentHandler;

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