An open API service indexing awesome lists of open source software.

https://github.com/apmem/godotfieldsgenerator

C# fields generator for godot scenes.
https://github.com/apmem/godotfieldsgenerator

Last synced: about 1 year ago
JSON representation

C# fields generator for godot scenes.

Awesome Lists containing this project

README

          

# GodotFieldsGenerator

C# fields generator for godot scenes.

Usage:
- Add references to GodotFieldsGenerator and GodotFieldsGeneratorAttributes to your godot project.
- Change scene root script class to be public partial
- Add [SceneReference("pathTo/scene.tscn")] attribute with relative path to scene file (including .tscn)
- Add this.FillMembers() method call to "_Ready" method
- Now you can use local class variables for scene nodes.

Example: