Version: 2017.1
public static string unityVersion ;

説明

Unity のバージョンを返す。

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { void Example() { print("Version of the runtime: " + Application.unityVersion); } }