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
It would be nice to have some documentation on how to use this with an existing UE project, or even a brand new project.
So far, for adding to an existing project, I've copied over the RustPlugin to my Plugins directory, and the .dll into Binaries, but I'm not sure where to write my Rust code, and place my Cargo.toml... and how to link that project with my game.
The text was updated successfully, but these errors were encountered:
So far, for adding to an existing project, I've copied over the RustPlugin to my Plugins directory,
Correct
and the .dll into Binaries, but I'm not sure where to write my Rust code, and place my Cargo.toml... and how to link that project with my game.
The dll is your game. If you want to write your own game, you can have a look at unreal-rust-example and maybe remove the things you don't want. If you compile that, it will produce a dll that you can copy into the Binaries folder.
Additionally you need to set the GameMode to ARustGameModeBase for your level.
I should provide a minimal example, but haven't had the time yet.
It would be nice to have some documentation on how to use this with an existing UE project, or even a brand new project.
So far, for adding to an existing project, I've copied over the
RustPlugin
to myPlugins
directory, and the .dll intoBinaries
, but I'm not sure where to write my Rust code, and place my Cargo.toml... and how to link that project with my game.The text was updated successfully, but these errors were encountered: