GetPlatformName - Debug

Revision as of 13:54, 11 November 2011 by imported>Scornett (Reverted edits by Scornett-Bot (talk) to last revision by Rhavlovick)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Member of: Debug Script

Obtains the game's platform name.

Syntax

string Function GetPlatformName() native global

Parameters

None.

Return Value

The game's platform name (PC, 360, etc).

Examples

; Print out the current platform name to the log
Debug.Trace("You are running on the " + Debug.GetPlatformName() + " platform")

See Also