A Platform refers to an online gaming platform, often linked to a distributor, such as Steam, Google Play, Game Center, Xbox, PlayStation, etc. Platforms will be represented by gameObjects and exist as a prefab in your project.

The Platform prefab

ex: Steam(Clone) was created at runtime

Untitled

Platform Creation Flowchart

This chart describes the logic for creating the selected platform using the Platform Manager.

Untitled

Platform Properties

The properties of a Platform have been set by enum Games and typically should not be changed. You may find the Platform’s prefab in the project to modify them.

SplitscreenPlayersAreGuestPlayers - all players excluding PlatformPlayer.Main will be a GuestPlayer

EnabledSaveThroughMainPlayer - guest players will use native platform functionality to save files to PlatformPlayer.Main’s storage

AutoAppendGuestFileNames - should guest save files automatically append “_guestId” when using file functions

AutoCreateInvitees - the platform will automatically attempt to create a player who accepts an invite if they are not already added to the game

Multiplatform Support

You may wish to allow multiple platforms or player choice of their platform depending on the distribution channel. For example, you may have a Google Play app that uses both the Google Play platform and the Facebook platform. With enum Platforms, it is possible to create both platforms and a platform player object for both.