Version: 2017.4
public static string unityVersion ;

説明

Unity のバージョンを返す。

using UnityEngine;

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