Method GetPlayerType
GetPlayerType()
Returns the DotsGlobalSettings.PlayerType Client or Server based on if a dedicated server platform is selected in the build settings or not.
Declaration
public DotsGlobalSettings.PlayerType GetPlayerType()
Returns
Type | Description |
---|---|
DotsGlobalSettings.PlayerType | Returns the DotsGlobalSettings.PlayerType for the build. |