Class SysrootPackage
Base class for sysroot and toolchain packages
Inherited Members
Namespace: UnityEditor .Il2Cpp
Assembly: Unity.SysrootPackage.Editor.dll
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 |
---|---|
bool | 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 |
---|---|
bool |