Mandatory steps to integrate the MultiWorld plugin into a project.
More...
Mandatory steps to integrate the MultiWorld plugin into a project.
To integrate the MultiWorld plugin into a project, a simple preliminary setup is REQUIRED. MultiWorld needs to intercept some system calls of Unreal Engine 4. This can be quickly accomplished configuring few pre-made classes (provided with the plugin) in your Project Settings:
- override the Game Instance class: go to "Project Settings", "Project > Maps and Modes" section, search for the property "Game Instance Class" and set it to MultiWorldGameInstance.
Set MultiWorldGameInstance as new Game Instance
- override the Game Viewport Client class: go to "Project Settings", "Engine > General Settings" section, search for the property "Game Viewport Client Class" and set it to MultiWorldGameViewportClient.
Set MultiWorldGameViewportClient as new Game Viewport Client
If you're already using custom overrides of the above settings, you can:
- simply inherit your implementations from our classes (still guaranteeing the point below);
- follow ALL the instructions in UMultiWorldOverrides to provide the needed hooks into the required UE4 system calls.