Inspector plugins

    Just like , we start out by making a new plugin, getting a file created, and start with our EditorPlugin. However, instead of using or we’ll use .

    To actually connect into the Inspector, we create a class. This script provides the “hooks” to the inspector. Thanks to this class, the editor will call the functions within the EditorInspectorPlugin while it goes through the process of building the UI for the inspector. The script is used to check if we should enable ourselves for any Object that is currently in the inspector (including any that is embedded!).

    GDScript

    GDScript