diff options
Diffstat (limited to '')
| -rw-r--r-- | plugins/terrain/terrain.gd | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/plugins/terrain/terrain.gd b/plugins/terrain/terrain.gd new file mode 100644 index 000000000..b3e3121e7 --- /dev/null +++ b/plugins/terrain/terrain.gd @@ -0,0 +1,17 @@ +tool # Always declare as Tool, if it's meant to run in the editor. +extends EditorPlugin + + +func get_name(): + return "Terrain" + + +func _init(): + print("PLUGIN INIT") + + +func _enter_scene(): + add_custom_type("Terrain","Spatial",preload("terrain_node.gd"),preload("terrain.png")) + +func _exit_scene(): + remove_custom_type("Terrain") |
