HighlightSettings

AUTO-GENERATED FILE – DO NOT EDIT MANUALLY

Settings for manipulating an object in the game world to indicate it as a valid, invalid target, etc

Source File: addons/grid_building/systems/grid_targeting/highlight_settings.gd

Extends: GBResource

Exported Properties

  • Property: build_preview_color: Color = Color(.6, .6, 1, 0.8)

    Adjustment color for any preview sprites to indicate that the instance is a preview and not actually a interactable object in the game

  • Property: info_hover_color: Color = Color(0.6, 0.7, 0.7, 0.85) - Color to highlight a hover target in info mode

  • Property: move_valid_color = Color(.2, 1, 0.2, 1) - When move is possible

  • Property: move_invalid_color = Color(1, 0.2, 0.2, 1) - When move is not possible

  • Property: active_manipulation_color = Color(0.2, 0.2, 1.0, 0.7) - For objects being moved

  • Property: demolish_valid_color = Color(.2, 1, 0.2, 1) - When demolishing is possible

  • Property: demolish_invalid_color = Color(1, 0.2, 0.2, 1) - When demolishing is not possible

  • Property: reset_color = Color.WHITE - Default reset modulate color

Public Methods

get_editor_issues

1
get_editor_issues() -> Array[String]

Returns an array of issues found during editor validation


get_runtime_issues

1
get_runtime_issues() -> Array[String]

Returns an array of issues found during runtime validation