Documentation

UnityEditor
in package

Table of Contents

Constants

ENV_UNITY_ACCELERATOR_ENDPOINT  = 'UNITY_ACCELERATOR_ENDPOINT'
ENV_UNITY_ACCELERATOR_PARAMS  = 'UNITY_ACCELERATOR_PARAMS'
ENV_UNITY_NO_GRAPHICS  = 'UNITY_NO_GRAPHICS'

Properties

$executable  : string
$hub  : UnityHub
$version  : string

Methods

__construct()  : mixed
__toString()  : string
createEmptyProject()  : UnityProject
createLicenseFile()  : string|null
execute()  : Process
install()  : bool
installModules()  : bool
isInstalled()  : bool
isLicensed()  : bool
license()  : bool
setExecutable()  : mixed
useLicenseFile()  : bool

Constants

ENV_UNITY_ACCELERATOR_ENDPOINT

public mixed ENV_UNITY_ACCELERATOR_ENDPOINT = 'UNITY_ACCELERATOR_ENDPOINT'

ENV_UNITY_ACCELERATOR_PARAMS

public mixed ENV_UNITY_ACCELERATOR_PARAMS = 'UNITY_ACCELERATOR_PARAMS'

ENV_UNITY_NO_GRAPHICS

public mixed ENV_UNITY_NO_GRAPHICS = 'UNITY_NO_GRAPHICS'

Properties

Methods

__toString()

public __toString() : string
Return values
string

createLicenseFile()

public createLicenseFile() : string|null
Return values
string|null

execute()

public execute(bool $validateExitCode, string ...$arguments) : Process
Parameters
$validateExitCode : bool
$arguments : string
Return values
Process

install()

public install() : bool
Return values
bool

installModules()

public installModules(string ...$modules) : bool
Parameters
$modules : string
Return values
bool

isInstalled()

public isInstalled() : bool
Return values
bool

isLicensed()

public isLicensed(string $projectPath) : bool
Parameters
$projectPath : string
Return values
bool

license()

public license(string $projectPath[, mixed $assumeSuccess = false ]) : bool
Parameters
$projectPath : string
$assumeSuccess : mixed = false
Return values
bool

setExecutable()

public setExecutable(string $executable) : mixed
Parameters
$executable : string

useLicenseFile()

public useLicenseFile(string $file) : bool
Parameters
$file : string
Return values
bool

        
On this page

Search results