mirror of
https://github.com/Insality/druid
synced 2025-06-27 10:27:48 +02:00
Rename component template for autogenerate
This commit is contained in:
parent
8256fc9d92
commit
70d4f0f1f8
@ -68,7 +68,7 @@ no_auto_input = 1
|
||||
|
||||
By default, **Druid** will auto check the parent component template name to build the full template name for component.
|
||||
|
||||
If for some reason you want to pass the full template name by yourself, you can disable it by setting `druid.no_auto_input` field in _game.project_:
|
||||
If for some reason you want to pass the full template name by yourself, you can disable it by setting `druid.no_auto_template` field in _game.project_:
|
||||
|
||||
```
|
||||
[druid]
|
||||
@ -133,7 +133,7 @@ druid.on_window_callback(event)
|
||||
|
||||
- **[Swipe](docs_md/01-components.md#swipe)** - System Druid component, handle swipe gestures on node
|
||||
|
||||
- **[Drag](docs_md/01-components.md#drag)** - System Druid component, handle drag input on node
|
||||
- **[Drag](docs_md/01-components.md#drag)** - System Druid component, handle drag input on node
|
||||
|
||||
**Druid** also provides the following *extended* components:
|
||||
|
||||
|
@ -6,7 +6,7 @@ import sys
|
||||
import deftree
|
||||
|
||||
current_filepath = os.path.abspath(os.path.dirname(__file__))
|
||||
TEMPLATE_FILE = open(current_filepath + "/component_template.lua", "r")
|
||||
TEMPLATE_FILE = open(current_filepath + "/component.lua_template", "r")
|
||||
|
||||
component_annotations = ""
|
||||
component_functions = ""
|
||||
|
Loading…
x
Reference in New Issue
Block a user