public static void LockFsmGUI(Skill fsm) { if (fsm.get_Locked()) { return; } SkillEditorGUILayout.Divider(new GUILayoutOption[0]); GUILayout.BeginHorizontal(new GUILayoutOption[0]); GUILayout.Label(Strings.get_Label_Password(), new GUILayoutOption[] { GUILayout.MaxWidth(70f) }); SkillEditorGUILayout.password = EditorGUILayout.TextField(SkillEditorGUILayout.password, new GUILayoutOption[0]); if (GUILayout.Button(SkillEditorContent.LockFsmButton, new GUILayoutOption[] { GUILayout.MaxWidth(60f) })) { SkillEditorGUILayout.LockFSM(fsm); } GUILayout.EndHorizontal(); }