Open
Conversation
Place script templates in a Node subfolder, which is required for Godot 4 to detect the script templates Replace % with _ (example: %BASE% becomes _BASE_, %TS% becomes _TS_), according to new Godot 4 syntax for script templates
…e inkgd script templates Godot 4 reads the names of subfolders within the script_templates folder. The script templates within those folders become available to the node type that is that subfolder name. With subfolder name Control, Godot 4 only allows Control node scripts to use the inkgd script templates. With subfolder name Node, any node script can use the inkgd script templates.
|
@daneehAI oh I didn't notice your PR so I the same thing in parallel #97 However, note that this is not enough. In my PR I have also changed the plugin to install the script templates correctly: https://github.com/ephread/inkgd/pull/97/files#diff-e377186e5b5fa5981f46565ec79c2653e506b4de56e478273341c81f207f3d96 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
RESOLVES ISSUE #82
Update script templates with Godot 4 syntax and folder hierarchy: