pollen-not-included/addons/gdUnit4/test/mocker/resources/ClassWithOverridenVirtuals.gd
2024-05-02 09:36:31 +01:00

21 lines
328 B
GDScript

class_name ClassWithOverridenVirtuals
extends Node
var _x := "default"
func _init():
_x = "_init"
# Called when the node enters the scene tree for the first time.
func _ready():
if _x == "_init":
_x = ""
_x += "_ready"
func _input(event):
_x = "_input"
if event.is_action_released("ui_accept"):
_x = "ui_accept"