You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> **_NOTE:_** You can, of course, enable other features in `bevy`; in the above
28
+
> example, we've simply minimized our feature set in order to minimize compile
29
+
> times and built-artifact size.
30
+
22
31
3. Create a function that takes a `&mut App` and builds your bevy app, and annotate it with `#[bevy_app]`:
23
32
```rust
24
33
#[bevy_app]
25
34
fnbuild_app(app:&mutApp) {
26
35
app.add_system(my_system)
27
36
}
28
37
```
29
-
4. Cargo build your project, and make sure the dll is found by Godot via the .gdextension file. You should now have the `BevyApp` Node avaiable to you in the Godot editor (you may need to refresh the project in the editor).
38
+
39
+
4. Cargo build your project, and make sure the dll is found by Godot via the .gdextension file. You should now have the `BevyApp` Node avaiable to you in the Godot editor (you may need to refresh the project in the editor).
30
40
31
41
5. Add this `BevyApp` Node as a Godot autoload named `BevyAppSingleton` in the Godot project settings.
0 commit comments