mirror of
https://github.com/thecatontheceiling/buckshotroulette-decomp.git
synced 2024-11-24 22:47:01 +00:00
13 lines
338 B
GDScript
13 lines
338 B
GDScript
class_name GridIndicator extends Node
|
|
|
|
@export var roundManager : RoundManager
|
|
@export var animator : AnimationPlayer
|
|
@export var parent: Node3D
|
|
|
|
func ShowGridIndicator():
|
|
parent.visible = true
|
|
animator.play("show")
|
|
roundManager.playerData.indicatorShown = true
|
|
await get_tree().create_timer(1, false).timeout
|
|
parent.visible = false
|