1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Add GDScript template to RichTextEffect

This commit is contained in:
RedMser
2022-09-29 15:38:55 +02:00
committed by Yuri Sizov
parent 3db40355a0
commit 2330ffb5a1
2 changed files with 19 additions and 0 deletions

View File

@@ -73,9 +73,11 @@ Ref<Script> GDScriptLanguage::make_template(const String &p_template, const Stri
.replace(": String", "")
.replace(": Array[String]", "")
.replace(": float", "")
.replace(": CharFXTransform", "")
.replace(":=", "=")
.replace(" -> String", "")
.replace(" -> int", "")
.replace(" -> bool", "")
.replace(" -> void", "");
}