summaryrefslogtreecommitdiffstats
path: root/modules/mono/csharp_script.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-03-05 09:55:30 +0100
committerRémi Verschelde <rverschelde@gmail.com>2024-03-05 09:55:30 +0100
commit897e2d9a40713afdd0d0f25a10aa7f6229f6421a (patch)
tree7ec18020c3d986dafe5078a4e394a749933111c8 /modules/mono/csharp_script.cpp
parenta07dd0d6a520723c4838fb4b65461a16b7a50f90 (diff)
parent2bd714e34eb57b3fff2c9eaff0eb59ac2cb515aa (diff)
downloadredot-engine-897e2d9a40713afdd0d0f25a10aa7f6229f6421a.tar.gz
Merge pull request #78119 from RedMser/script-filename-casing
Allow configuring the script filename casing rule
Diffstat (limited to 'modules/mono/csharp_script.cpp')
-rw-r--r--modules/mono/csharp_script.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/mono/csharp_script.cpp b/modules/mono/csharp_script.cpp
index 9ccaa27e84..93fb5f1dc6 100644
--- a/modules/mono/csharp_script.cpp
+++ b/modules/mono/csharp_script.cpp
@@ -405,6 +405,10 @@ bool CSharpLanguage::supports_builtin_mode() const {
return false;
}
+ScriptLanguage::ScriptNameCasing CSharpLanguage::preferred_file_name_casing() const {
+ return SCRIPT_NAME_CASING_PASCAL_CASE;
+}
+
#ifdef TOOLS_ENABLED
struct VariantCsName {
Variant::Type variant_type;