mirror of
https://github.com/tonytins/citylimits
synced 2025-05-05 14:14:49 -04:00
11 lines
320 B
GDScript
11 lines
320 B
GDScript
@tool
|
|
extends EditorPlugin
|
|
|
|
func _enter_tree():
|
|
# Initialization of the plugin goes here.
|
|
# Add the new type with a name, a parent type, a script and an icon.
|
|
add_custom_type("MarkdownLabel", "RichTextLabel", preload("markdownlabel.gd"), preload("icon.svg"))
|
|
|
|
|
|
func _exit_tree():
|
|
remove_custom_type("MarkdownLabel")
|