Learn R Programming

unifir (version 0.2.4)

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).

Examples

Run this code
try(
  unity_version()
)

Run the code above in your browser using DataLab