Documentation

UnityProject
in package

Table of Contents

Methods

__construct()  : mixed
__toString()  : string
build()  : Process
ensureEditorIsInstalled()  : bool
ensureEditorIsLicensed()  : bool
execute()  : Process
executeMethod()  : Process
getAssetFiles()  : iterable<string|int, mixed>
getEditorVersion()  : string
getProjectPath()  : string
getProjectVersion()  : string
getScriptingBackend()  : int
getSetting()  : mixed
hasSetting()  : bool
installModules()  : bool
runTests()  : DOMDocument
setProjectVersion()  : void
startMethod()  : Process

Methods

__toString()

public __toString() : string
Return values
string

build()

public build(string $target, string $buildPath) : Process
Parameters
$target : string
$buildPath : string
Return values
Process

ensureEditorIsInstalled()

public ensureEditorIsInstalled() : bool
Return values
bool

ensureEditorIsLicensed()

public ensureEditorIsLicensed() : bool
Return values
bool

execute()

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

executeMethod()

public executeMethod(string $method, array<string|int, mixed> $args) : Process
Parameters
$method : string
$args : array<string|int, mixed>
Return values
Process

getAssetFiles()

public getAssetFiles() : iterable<string|int, mixed>
Return values
iterable<string|int, mixed>

getEditorVersion()

public getEditorVersion() : string
Return values
string

getProjectPath()

public getProjectPath() : string
Return values
string

getProjectVersion()

public getProjectVersion() : string
Return values
string

getScriptingBackend()

public getScriptingBackend() : int
Return values
int

getSetting()

public getSetting(string $key[, mixed $defaultValue = null ]) : mixed
Parameters
$key : string
$defaultValue : mixed = null

hasSetting()

public hasSetting(string $key) : bool
Parameters
$key : string
Return values
bool

installModules()

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

runTests()

public runTests(string ...$testPlatforms) : DOMDocument
Parameters
$testPlatforms : string
Return values
DOMDocument

setProjectVersion()

public setProjectVersion(string $version) : void
Parameters
$version : string

startMethod()

public startMethod(string $method, array<string|int, mixed> $args) : Process
Parameters
$method : string
$args : array<string|int, mixed>
Return values
Process

        
On this page

Search results