stringoptionText=EditorGUILayout.TextField(newGUIContent("Option Text","Text display on the option button."),
stringoptionText=EditorGUILayout.TextField(newGUIContent("Option Text","Text to display on the option button."),
t.optionText);
t.optionText);
SequencetargetSequence=SequenceEditor.SequenceField(newGUIContent("Target Sequence","Sequence to execute when this option is selected by the player."),
SequencetargetSequence=SequenceEditor.SequenceField(newGUIContent("Target Sequence","Sequence to execute when this option is selected by the player."),
@ -25,11 +25,14 @@ namespace Fungus.Script
t.GetFungusScript(),
t.GetFungusScript(),
t.targetSequence);
t.targetSequence);
boolhideOnSelected=EditorGUILayout.Toggle(newGUIContent("Hide On Selected","Hide this option forever once the player has selected it."),t.hideOnSelected);