Vendor gdUnit4 for Godot 4 client testing (D-030). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
22 lines
364 B
GDScript
22 lines
364 B
GDScript
class_name ClassWithOverridenVirtuals
|
|
extends Node
|
|
|
|
var _x := "default"
|
|
|
|
|
|
func _init() -> void:
|
|
_x = "_init"
|
|
|
|
|
|
# Called when the node enters the scene tree for the first time.
|
|
func _ready() -> void:
|
|
if _x == "_init":
|
|
_x = ""
|
|
_x += "_ready"
|
|
|
|
|
|
func _input(event :InputEvent) -> void:
|
|
_x = "_input"
|
|
if event.is_action_released("ui_accept"):
|
|
_x = "ui_accept"
|