mirror of
https://github.com/Relintai/godot-steering-ai-framework.git
synced 2024-12-24 05:37:15 +01:00
16cc3efb43
Fixes #45
14 lines
226 B
GDScript
14 lines
226 B
GDScript
tool
|
|
extends Line2D
|
|
|
|
export (Color) var inner_color := Color() setget set_inner_color
|
|
|
|
|
|
func _draw() -> void:
|
|
draw_colored_polygon(points, inner_color)
|
|
|
|
|
|
func set_inner_color(val: Color) -> void:
|
|
inner_color = val
|
|
update()
|