public class Installation
extends java.lang.Object
| Constructor and Description |
|---|
Installation(java.io.File location,
java.lang.String version) |
| Modifier and Type | Method and Description |
|---|---|
static Installation |
atLocation(java.io.File installationLocation)
Returns a @{code Installation} object from given path.
|
boolean |
equals(java.lang.Object obj) |
Component[] |
getComponents() |
java.io.File |
getExecutable()
Returns the path to the unity executable.
|
java.io.File |
getLocation() |
java.lang.String |
getVersion() |
public Installation(java.io.File location,
java.lang.String version)
public java.io.File getLocation()
public java.lang.String getVersion()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic Component[] getComponents()
public java.io.File getExecutable()
The path to the unity executable is system depended.
* on macOS: Unity.app/Contents/MacOS/Unity
* on windows: Editor\\Unity.exe
public static Installation atLocation(java.io.File installationLocation)
installationLocation - the path to the unity installation