2using Sirenix.Utilities.Editor;
8 public static class FunctionValueDrawer
10 public static string Draw(Function
function,
string value, GUIContent label, StepItemSO stepItemSo)
14 case Function.PLAY_VOICE_OVER:
16 if (stepItemSo.owner.owner.VoiceOverData ==
null)
21 var names = stepItemSo.owner.owner.VoiceOverData.voiceOverInfos.ConvertAll(v => v.id);
23 return SirenixEditorFields.Dropdown(label, value, names);
27 return EditorGUILayout.TextField(label, value);