GBObjectUtils
AUTO-GENERATED FILE – DO NOT EDIT MANUALLY
Utility helpers for object introspection and display names.
Source File: addons/grid_building/utils/gb_object_utils.gd
Public Methods
get_script_or_base_class_name
Flags: static
Finds the script name on the script attached to an object if one exists.
p_check: Object - The object to inspect for script information
get_object_display_name
Flags: static
Gets a display-friendly name for any object type. Returns the most appropriate identifier for logging and debugging purposes.
obj: Object - The object to get display name from
get_display_name
Flags: static
Gets a readable display name for a Node, with optional fallback and custom callable.
node: Node - Node to get display name for (can be null)
missing_name: String - Value to return when node is null or name missing
custom_callable: Callable - Optional callable that receives the node and returns a String