mirror of
https://github.com/godotengine/godot-docs.git
synced 2025-12-31 17:49:03 +03:00
The example (tutorial) plugin resides in an addons/my_custom_node subdirectory of its project. The C# example code uses the same relative path structure for a custom script and icon as the GDScript example. These paths cause errors when the user activates the plugin, as Godot looks for the resources in the root directory of the project. This change fixes the errors by using the fully qualified "res://" path to the resources in the C# example code.