Application.unityVersion Manual     Reference     Scripting  
Scripting > Runtime Classes > Application
Application.unityVersion

static var unityVersion : String

Description

The version of the Unity runtime used to play the content.

JavaScript
print ("Version of the runtime: " + Application.unityVersion);