(Formerly known as system.os, which is now obsolete)
readonly static eOperatingSystem System.OperatingSystem;
Returns which operating system the game is currently running under. It can be one of
the following values:
eOSDOS
eOSWindows
eOSLinux
eOSMacOS
Example:
if (System.OperatingSystem == eOSWindows) {
Display("Running on Windows!");
}
else {
Display("Not running on Windows!");
}
|