Class SysrootPackage
Base class for sysroot and toolchain packages
Namespace: UnityEditor.Il2Cpp
Syntax
public class SysrootPackage
Properties
HostArch
Name of host architecture
Declaration
public virtual string HostArch { get; }
Property Value
Type | Description |
---|---|
String |
HostPlatform
Name of host platform (linux, win, macos)
Declaration
public virtual string HostPlatform { get; }
Property Value
Type | Description |
---|---|
String |
Name
Name of package
Declaration
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
String |
Payload
Name of payload tarball
Declaration
protected string Payload { get; }
Property Value
Type | Description |
---|---|
String |
TargetArch
Name of target architecture
Declaration
public virtual string TargetArch { get; }
Property Value
Type | Description |
---|---|
String |
TargetPlatform
Name of target platform (linux, win, macos)
Declaration
public virtual string TargetPlatform { get; }
Property Value
Type | Description |
---|---|
String |
Methods
GetIl2CppArguments()
Supplies arguments to il2cpp.exe
Declaration
public virtual IEnumerable<string> GetIl2CppArguments()
Returns
Type | Description |
---|---|
IEnumerable<String> | Next argument to il2cpp.exe |
Initialize()
Initialize package
Declaration
public virtual bool Initialize()
Returns
Type | Description |
---|---|
Boolean | Success or failure of initialization |
RegisterPayload(String, String)
Register payload tarball and destination (installed location)
Declaration
public void RegisterPayload(string packageName, string payloadDir)
Parameters
Type | Name | Description |
---|---|---|
String | packageName | The name of the package |
String | payloadDir | The directory to install the payload in relative to sysroot cache |
ShouldLogDebugMessage()
Declaration
public static bool ShouldLogDebugMessage()
Returns
Type | Description |
---|---|
Boolean |