NameDisplayer

AUTO-GENERATED FILE – DO NOT EDIT MANUALLY

Name Displayer Resource

Source File: addons/grid_building/systems/manipulation/name_displayer.gd

Extends: Resource

Exported Properties

  • Property: display_name: String = "" - The display name to show
  • Property: show_name: bool = true - Whether to show the display name
  • Property: font_size: int = 12 - Font size for the display
  • Property: text_color: Color = Color.WHITE - Text color for the display

Public Methods

get_formatted_name

1
get_formatted_name() -> String

Get the formatted display name


has_valid_name

1
has_valid_name() -> bool

Check if the displayer has a valid name to show


Private Methods

_init

1
2
3
4
5
6
_init(
    p_display_name: String = "",
    p_show_name: bool = true,
    p_font_size: int = 12,
    p_text_color: Color = Color.WHITE
) -> void

Flags: private