Table of Contents

Class HighlightSettings

Namespace
GridPlacement.GDScript
Assembly
MoonBark.GridPlacement.GDScript.dll

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

class HighlightSettings extends GBResource
HighlightSettings

Properties

build_preview_color

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

@export var build_preview_color: Color = Color(.6, .6, 1, 0.8)

info_hover_color

Color to highlight a hover target in info mode

@export var info_hover_color: Color = Color(0.6, 0.7, 0.7, 0.85)

move_valid_color

When move is possible

@export var move_valid_color = Color(.2, 1, 0.2, 1)

move_invalid_color

When move is not possible

@export var move_invalid_color = Color(1, 0.2, 0.2, 1)

active_manipulation_color

For objects being moved

@export var active_manipulation_color = Color(0.2, 0.2, 1.0, 0.7)

demolish_valid_color

When demolishing is possible

@export var demolish_valid_color = Color(.2, 1, 0.2, 1)

demolish_invalid_color

When demolishing is not possible

@export var demolish_invalid_color = Color(1, 0.2, 0.2, 1)

reset_color

Default reset modulate color

@export var reset_color = Color.WHITE

issues

var issues: Array[String] = []

issues

var issues: Array[String] = []

Methods

get_editor_issues

func get_editor_issues() -> Array[String]:

Returns

get_runtime_issues

func get_runtime_issues() -> Array[String]:

Returns