From 0765b82a39998ddd55ffa104b32bc44f9935ea73 Mon Sep 17 00:00:00 2001 From: Chandler Cox Date: Fri, 21 Oct 2022 09:54:16 -0500 Subject: [PATCH] changed the default for script memebers order. --- Source/Editor/Options/GeneralOptions.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Editor/Options/GeneralOptions.cs b/Source/Editor/Options/GeneralOptions.cs index c3f38f34b..5f05cae2c 100644 --- a/Source/Editor/Options/GeneralOptions.cs +++ b/Source/Editor/Options/GeneralOptions.cs @@ -137,9 +137,9 @@ namespace FlaxEditor.Options /// /// Gets or sets an order of script properties/fields in properties panel. /// - [DefaultValue(MembersOrder.Alphabetical)] + [DefaultValue(MembersOrder.Declaration)] [EditorDisplay("Scripting", "Script Members Order"), EditorOrder(503), Tooltip("Order of script properties/fields in properties panel")] - public MembersOrder ScriptMembersOrder { get; set; } = MembersOrder.Alphabetical; + public MembersOrder ScriptMembersOrder { get; set; } = MembersOrder.Declaration; /// /// Gets or sets a value indicating whether automatically save the Visual Script asset editors when starting the play mode in editor.