Example #1
0
        protected override void OnPrintBody(Event e)
        {
            serializedObject.Update();

            _choices.Print(e);
            CreateChoice();

            serializedObject.ApplyModifiedProperties();
        }
Example #2
0
        protected override void OnPrintBody(Event e)
        {
            serializedObject.Update();

            EditorGUILayout.PropertyField(serializedObject.FindProperty("actor"), GUIContent.none);
            EditorGUILayout.PropertyField(serializedObject.FindProperty("dialogue"), GUIContent.none);

            _choices.Print(e);
            CreateChoice();

            serializedObject.ApplyModifiedProperties();
        }