Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Application.unityVersion

Switch to Manual
public static var unityVersion: string;

Description

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

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