12 lines
295 B
GDScript
12 lines
295 B
GDScript
extends Button
|
|
|
|
func _ready():
|
|
if gameController.debuggingMode:
|
|
visible = true
|
|
disabled = false
|
|
else:
|
|
visible = false
|
|
disabled = true
|
|
|
|
func pressed():
|
|
gameController.crashJessist("test","pressed","CRASH GOT INITIATED MANUALLY BY THE USER BY PRESSING NODE \"BUTTON\" IN SCENE LEVEL0")
|