summaryrefslogtreecommitdiff
path: root/tools/script_plugins/terrain/terrain.gd
blob: b3e3121e7a47f1d3ba59abf8b4bc05d0b79f53a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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")