RuntimePlatform.WindowsWebPlayer
RuntimePlatform.WindowsWebPlayer
Description描述
In the web player on Windows.
在Windows平台的web播放器中。
See Also: Platform dependent Compilation.
using UnityEngine;
using System.Collections;
public class example : MonoBehaviour {
void Awake() {
if (Application.platform == RuntimePlatform.WindowsWebPlayer)
Debug.Log("Do something special here!");
}
}
if (Application.platform == RuntimePlatform.WindowsWebPlayer)
Debug.Log("Do something special here!");
最后修改:2011年5月23日 Monday 12:42