GetPlatformName - Debug
Revision as of 16:26, 1 December 2015 by imported>Plplecuyer
Member of: Debug Script
Obtains the game's platform name.
SyntaxEdit
string Function GetPlatformName() native global debugOnly
ParametersEdit
None.
Return ValueEdit
The game's platform name (PC, 360, etc).
ExamplesEdit
; Print out the current platform name to the log
Debug.Trace("You are running on the " + Debug.GetPlatformName() + " platform")