plugin_main.gd 375 B

12345678910111213
  1. @tool
  2. extends EditorPlugin
  3. func _enter_tree():
  4. # Plugin Initialization here!
  5. add_custom_type("IK_LookAt", "Node3D", preload("ik_look_at.gd"), preload("ik_look_at.png"))
  6. add_custom_type("IK_FABRIK", "Node3D", preload("ik_fabrik.gd"), preload("ik_fabrik.png"))
  7. func _exit_tree():
  8. # Plugin Clean-up here!
  9. remove_custom_type("IK_LookAt")
  10. remove_custom_type("IK_FABRIK")