unity_version: Print the version of the Unity Editor in use.
Description
Print the version of the Unity Editor in use.
Usage
unity_version(unity = NULL)
Value
A character vector of length 1
containing the version of Unity in use.
Arguments
- unity
The path to the Unity executable on your system (importantly,
not the UnityHub executable). If NULL, checks to see if the environment
variable or option unifir_unity_path is set; if so, uses that path
(preferring the environment variable over the option if the two disagree).