unity_version {unifir}R Documentation

Print the version of the Unity Editor in use.

Description

Print the version of the Unity Editor in use.

Usage

unity_version(unity = NULL)

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

Value

A character vector of length 1 containing the version of Unity in use.

Examples

try(
  unity_version()
)


[Package unifir version 0.2.4 Index]