Content-Length: 19488 | pFad | https://docs.unity3d.com/ScriptReference/../Manual/../ScriptReference/Application-version.html
Returns application version number (Read Only).
This function returns the current version of the application. This is read-only. To set the version number in Unity, go to Edit>Project Settings>Player.
Unity uses PlayerSettings.bundleVersion on all platforms, so Application.version returns that same version string at runtime.
using UnityEngine;
public class ApplicationVersionExample : MonoBehaviour { void Start() { // This prints the value set in Edit>Project Settings>Player>Version (default 0.1). Debug.Log("Application Version : " + Application.version); } }
Fetched URL: https://docs.unity3d.com/ScriptReference/../Manual/../ScriptReference/Application-version.html
Alternative Proxies: