diff --git a/Source/Editor/CustomEditors/Editors/GenericEditor.cs b/Source/Editor/CustomEditors/Editors/GenericEditor.cs index f430dbf61..eec715a6b 100644 --- a/Source/Editor/CustomEditors/Editors/GenericEditor.cs +++ b/Source/Editor/CustomEditors/Editors/GenericEditor.cs @@ -173,7 +173,7 @@ namespace FlaxEditor.CustomEditors.Editors return string.Compare(Display.Group, other.Display.Group, StringComparison.InvariantCulture); } - if(Editor.Instance.Options.Options.General.ScritpMembersOrder == Options.GeneralOptions.MembersOrder.Declaration) + if(Editor.Instance.Options.Options.General.ScriptMembersOrder == Options.GeneralOptions.MembersOrder.Declaration) { // By declaration order if (Info.MetadataToken > other.Info.MetadataToken) diff --git a/Source/Editor/Options/GeneralOptions.cs b/Source/Editor/Options/GeneralOptions.cs index 2a6a4c0b5..8d3948220 100644 --- a/Source/Editor/Options/GeneralOptions.cs +++ b/Source/Editor/Options/GeneralOptions.cs @@ -138,8 +138,8 @@ namespace FlaxEditor.Options /// Gets or sets a value indicating whether automatically save the Visual Script asset editors when starting the play mode in editor. /// [DefaultValue(true)] - [EditorDisplay("Scripting", "Scritp Members Order"), EditorOrder(503), Tooltip("Sets the order of script properties/fields")] - public MembersOrder ScritpMembersOrder { get; set; } = MembersOrder.Alphabetical; + [EditorDisplay("Scripting", "Script Members Order"), EditorOrder(503), Tooltip("Sets the order of script properties/fields")] + public MembersOrder ScriptMembersOrder { get; set; } = MembersOrder.Alphabetical; /// /// Gets or sets a value indicating whether automatically save the Visual Script asset editors when starting the play mode in editor.