MCPcopy Create free account
hub / github.com/Schr3da/gdext-rust-tutorials / init

Method init

ecs/rust/src/nodes/game_node.rs:12–14  ·  view source on GitHub ↗
(base: Base<Node2D>)

Source from the content-addressed store, hash-verified

10#[godot_api]
11impl INode2D for GameNode {
12 fn init(base: Base<Node2D>) -> Self {
13 Self { base }
14 }
15
16 fn ready(&mut self) {
17 let callable = self

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected