mirror of
https://github.com/thecatontheceiling/buckshotroulette-decomp.git
synced 2024-11-28 16:37:08 +00:00
13 lines
338 B
GDScript3
13 lines
338 B
GDScript3
|
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
|