plugin.gd 203 B

12345678
  1. @tool
  2. extends EditorPlugin
  3. func _enter_tree():
  4. add_custom_type("FakeParallax", "Node2D", preload("fake_parallax.gd"), preload("icon.png"))
  5. func _exit_tree():
  6. remove_custom_type("FakeParallax")