SystemInfo
.operatingSystem
Manual
Reference
Scripting
Scripting
>
Runtime Classes
>
SystemInfo
SystemInfo
.operatingSystem
Menu
Overview
Runtime Classes
Attributes
Enumerations
Editor Classes
Enumerations
History
Index
SystemInfo
All Members
Class Variables
graphicsDeviceID
graphicsDeviceName
graphicsDeviceVendor
graphicsDeviceVendorID
graphicsDeviceVersion
graphicsMemorySize
graphicsPixelFillrate
graphicsShaderLevel
operatingSystem
processorCount
processorType
supportsImageEffects
supportsRenderTextures
supportsShadows
systemMemorySize
Class Functions
SupportsRenderTextureFormat
static
var
operatingSystem :
string
Description
Operating system name
(Read Only)
.
JavaScripts
JavaScript
C#
Boo
// Prints "Windows XP Service Pack 3 (5.1.2600)" on Windows XP SP3
print (
SystemInfo.operatingSystem
);
using UnityEngine;
using System.Collections;
public
class
example :
MonoBehaviour
{
void
Awake
() {
print(
SystemInfo.operatingSystem
);
}
}
import
UnityEngine
import
System.Collections
class
example(
MonoBehaviour
):
def
Awake
():
print(
SystemInfo.operatingSystem
)