Color rework
This commit is contained in:
parent
0dd3628ce1
commit
2b527c9b2e
15 changed files with 73 additions and 16 deletions
|
|
@ -7,7 +7,7 @@ extends Control
|
|||
var markers = []
|
||||
|
||||
func _process(_delta):
|
||||
$Sprite.self_modulate = ship.modulate
|
||||
$Sprite.self_modulate = ship.material.get_shader_parameter('color')
|
||||
|
||||
func add_marker(target : Node, type : String):
|
||||
var marker_inst = marker.instantiate()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue