Unity のバージョンを返す。
print ("Version of the runtime: " + Application.unityVersion);
using UnityEngine; using System.Collections; public class ExampleClass : MonoBehaviour { void Example() { print("Version of the runtime: " + Application.unityVersion); } }
import UnityEngine import System.Collections public class ExampleClass(MonoBehaviour): def Example() as void: print(('Version of the runtime: ' + Application.unityVersion))