13 lines
295 B
GDScript3
13 lines
295 B
GDScript3
|
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")
|