Steve Pham b8c7f76798 Removing $<TARGET_OBJECTS::Gem...> usage from project templates (#18182) (#18191) | hai 5 meses | |
---|---|---|
.. | ||
Code | hai 5 meses | |
Registry | %!s(int64=2) %!d(string=hai) anos | |
.gitignore | %!s(int64=2) %!d(string=hai) anos | |
CMakeLists.txt | hai 1 ano | |
README.md | %!s(int64=2) %!d(string=hai) anos | |
gem.json | hai 1 ano | |
preview.png | %!s(int64=2) %!d(string=hai) anos |
Use this template to produce a Multiplayer dependent Gem that can implement different behavior on the GameLauncher, ServerLauncher and UnifiedLauncher.
From your gems folder call this command:
<O3DE_PATH>\scripts\o3de create-from-template -tn UnifiedMultiplayerGem -gp <PATH_TO_GEM>
The Client, Server and Unified targets can all make use of their own sets of dependencies and cmake files.
They can separate logic within files using the macros AZ_TRAIT_CLIENT and AZ_TRAIT_SERVER.
For more information, see O3DE's documentation: https://development--o3deorg.netlify.app/docs/user-guide/networking/multiplayer/code_separation/