Files
react-godot-renderer/packages/example/src/TestUi2.ts
Julien Valverdé 78c3051342
Some checks failed
Lint / lint (push) Failing after 8s
Fix destruction
2026-01-02 00:06:41 +01:00

12 lines
339 B
TypeScript

import { Control } from "godot"
import { Renderer } from "react-godot-renderer"
import { TestUi2Component } from "./TestUi2Component"
export default class TestUi2 extends Control {
// Called when the node enters the scene tree for the first time.
_ready(): void {
Renderer.renderComponent(this, TestUi2Component)
}
}