File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -44,9 +44,9 @@ To fetch GDScript nodes, you can use the `GetNodeAsWrapper` extension method pro
4444
4545public override _Ready ()
4646{
47- NetworkTimer timer = this .GetNodeAsWrapper <NetworkTimer >(" Timer" );
48- NetworkRandomNumberGenerator rng = this .GetNodeAsWrapper <NetworkRandomNumberGenerator >(" SomeNode/Rng" );
49- NetworkAnimationPlayer animationPlayer = this .GetNodeAsWrapper <NetworkAnimationPlayer >(" AnimationPlayer" );
47+ NetworkTimerWrapper timer = this .GetNodeAsWrapper <NetworkTimerWrapper >(" Timer" );
48+ NetworkRandomNumberGeneratorWrapper rng = this .GetNodeAsWrapper <NetworkRandomNumberGeneratorWrapper >(" SomeNode/Rng" );
49+ NetworkAnimationPlayerWrapper animationPlayer = this .GetNodeAsWrapper <NetworkAnimationPlayerWrapper >(" AnimationPlayer" );
5050}
5151```
5252
@@ -55,7 +55,7 @@ Signals are forwarded to C# events, but you may also use the `Connect` method di
5555``` CSharp
5656public override _Ready ()
5757{
58- NetworkTimer timer = this .GetNodeAsWrapper <NetworkTimer >(" Timer" );
58+ NetworkTimerWrapper timer = this .GetNodeAsWrapper <NetworkTimerWrapper >(" Timer" );
5959
6060 // Connect C# events
6161 timer .Timeout += OnTimeout ;
You can’t perform that action at this time.
0 commit comments