Class ExistingCellRule
- Namespace
- GridPlacement.GDScript
- Assembly
- MoonBark.GridPlacement.GDScript.dll
Rule that requires a tile paint action to be performed on an existing cell.
class ExistingCellRule extends TilePaintRule
ExistingCellRule
Properties
error_message
@export var error_message: String = "Terrain paint requires an existing cell at %s."
Methods
validate_cell
func validate_cell(p_context: PlacementValidationContext) -> Array[String]:
Parameters
p_context