init project

This commit is contained in:
2026-02-16 14:02:58 +01:00
parent 0a3f464e9d
commit 9528038aaa
14854 changed files with 930822 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
{
"timestamp": 1707322662,
"signature": "iBqcXHStteWxmSb/CuzBmrIe7GyHzcaH/NVy4w9DmdZYo9rKZbk0TtUv7nlBpx175EvUW9m/eCKMGsFbsXBmh/SXBdWXlAhvTv3rNj7ezrmBSuqWr1Kz85FWshQUrqeEW8q1PEKaCAJ/4M2Tz1UobASatzHVjdQwMQkWXz3og/+EVyCZZUXiG8l3Lhyu1LvnqYG3NLqVIYzbzHB86VgAdb9bNhGRUoJheOuvZuJ4a0Fr8EKTMFTdkJl2F/oRKP0JNYrkBQlBK2QDyL5KyRXA6JmhK6fg6Z9SibAY9veLLXISUJp+uD4wsX3Spga3fNPrF9ey4n+eegRapw6l4OGY1eMb80rN2N0jqETdDGsWyAY2k0cA+caOrpxJuZrvW1Mq6BRODHMwg3m0Jx2ni5BDWhB+G2PweS87uIitsOLxCXfzGvO08I4g2ETXS/GoMIfn5+g6kuKiKZlnFVUrcBZi0XQUBPgWhEwipC1TyeRT8jnw9MrEay+EHqttFFBOV/WZ",
"publicKey": "LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQm9qQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FZOEFNSUlCaWdLQ0FZRUFzdUhXYUhsZ0I1cVF4ZEJjTlJKSAordHR4SmoxcVY1NTdvMlZaRE1XaXhYRVBkRTBEMVFkT1JIRXNSS1RscmplUXlERU83ZlNQS0ZwZ1A3MU5TTnJCCkFHM2NFSU45aHNQVDhOVmllZmdWem5QTkVMenFkVmdEbFhpb2VpUnV6OERKWFgvblpmU1JWKytwbk9ySTRibG4KS0twelJlNW14OTc1SjhxZ1FvRktKT0NNRlpHdkJMR2MxSzZZaEIzOHJFODZCZzgzbUovWjBEYkVmQjBxZm13cgo2ZDVFUXFsd0E5Y3JZT1YyV1VpWXprSnBLNmJZNzRZNmM1TmpBcEFKeGNiaTFOaDlRVEhUcU44N0ZtMDF0R1ZwCjVNd1pXSWZuYVRUemEvTGZLelR5U0pka0tldEZMVGdkYXpMYlpzUEE2aHBSK0FJRTJhc0tLTi84UUk1N3UzU2cKL2xyMnZKS1IvU2l5eEN1Q20vQWJkYnJMbXk0WjlSdm1jMGdpclA4T0lLQWxBRWZ2TzV5Z2hSKy8vd1RpTFlzUQp1SllDM0V2UE16ZGdKUzdGR2FscnFLZzlPTCsxVzROY05yNWdveVdSUUJ0cktKaWlTZEJVWmVxb0RvSUY5NHpCCndGbzJJT1JFdXFqcU51M3diMWZIM3p1dGdtalFra3IxVjJhd3hmcExLWlROQWdNQkFBRT0KLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0tCg"
}

View File

@@ -0,0 +1,105 @@
# Changelog
All notable changes to this package will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
## [2.0.9] - 2024-02-02
bump version number to publish
## [2.0.8] - 2024-01-12
bump version number to publish
## [2.0.7] - 2023-12-21
bump version number to publish
## [2.0.6] - 2023-07-17
bump version number to publish
## [2.0.5] - 2023-05-03
bump version number to publish
## [2.0.4] - 2022-11-24
bump version number to publish
## [2.0.3] - 2022-10-31
add support for new IL2CPP arguments APIs for 2022.1.23f1+ editors
## [2.0.2] - 2022-05-23
bump version number to publish
## [2.0.1] - 2022-04-27
bump version number to publish
## [2.0.0] - 2022-03-28
- Fix 1336012 - Build from windows fails if username contains space
- Add support for new IL2CPP arguments APIs
## [1.0.0] - 2021-12-15
label as released package
## [0.1.15] - 2021-02-22
Use latest sysroot base
## [0.1.14] - 2021-01-11
Use latest sysroot base
## [0.1.13] - 2020-11-24
eliminate use of symlinks
## [0.1.12] - 2020-11-09
changed namespace to prevent NiceIO conflicts
## [0.1.11] - 2020-10-26
fixed issue where NiceIO would conflict with other packages using it
## [0.1.10] - 2020-08-08
Use latest base
## [0.1.9] - 2020-07-26
Use latest sysroot base
## [0.1.8] - 2020-07-15
Use latest sysroot base
## [0.1.7] - 2020-05-27
documentation
## [0.1.6] - 2020-05-25
fix regression
## [0.1.5] - 2020-05-24
Reorganization
## [0.1.4] - 2020-05-21
Quote paths
## [0.1.3] - 2020-04-27
Cleanup
## [0.1.2] - 2020-04-25
Use latest sysroot and toolchains
## [0.1.1] - 2020-04-01
Fix platform issues.
## [0.1.0] - 2020-01-24
Intial release of package supplying sysroot for building il2cpp players.

View File

@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: d079a46bd2b13441ebad731de9b00dbe
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,19 @@
# com.unity.sysroot.linux-x86_64
The Linux-x86_64 sysroot package supplies the Linux x86_64 sysroot for building Linux IL2CPP players.
You dont need to install this package manually. The package manager automatically installs this package, along with com.unity.sysroot. You only need to install your chosen toolchain package.
For an overview of unity sysroot packages, see [Unity Sysroot Package documentation](https://docs.unity3d.com/Packages/com.unity.sysroot@0.1/manual/index.html).
This package is available as a pre-release package, so it is still in the process of becoming stable enough to release. The features and documentation in this package might change before it is ready for release. 
## Installation
To install this package, refer to the instructions that match your Unity Editor version:
### Version 2021.1 and later
To install this package, make sure you [enable pre-release packages](https://docs.unity3d.com/2021.1/Documentation/Manual/class-PackageManager.html#advanced_preview) in the Unity Editor's Package Manager, and then follow the [installation instructions in the Unity User Manual](https://docs.unity3d.com/Documentation/Manual/upm-ui-install.html). 
### Version 2020.3 
To install this package, make sure you [show preview packages](https://docs.unity3d.com/2020.3/Documentation/Manual/class-PackageManager.html#advanced_preview) in the Unity Editor's Package Manager, and then follow the [installation instructions in the Unity User Manual](https://docs.unity3d.com/2020.3/Documentation/Manual/upm-ui-install.html).
### Version 2019.4 
To install this package, make sure you [show preview packages](https://docs.unity3d.com/2019.4/Documentation/Manual/upm-ui-list.html#ShowPreview) in the Unity Editor's Package Manager, and then follow the [installation instructions in the Unity User Manual](https://docs.unity3d.com/2019.4/Documentation/Manual/upm-ui-install.html).
[!include[choosingbuilding](./snippets/choosingbuilding.md)]

View File

@@ -0,0 +1,13 @@
## Choosing the correct toolchain package
When you install a package to build the Linux IL2CPP player, choose the *com.unity.toolchain.* package based on your host (Editor) platform:
- Linux x86_64: com.unity.toolchain.linux-x86_64
- MacOS x86_64: com.unity.toolchain.macos-x86_64-linux-x86_64
- Windows x86_64: com.unity.toolchain.win-x86_64-linux-x86_64
## Building a Linux IL2CPP player
When you have installed your toolchain package, go to **Project Settings** > **Player** > **Configuration** and set the **ScriptingBackend** to **IL2CPP**.
To build your project go to **File** > **Build Settings**, in the **Target Platform** dropdown select **Linux,** then click **Build** or **Build and Run.**

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 9a994b3ee6d83415a9fd8831f7791f85
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,17 @@
{
"name": "Unity.Sysroot.Linux_x86_64",
"references": [
"Unity.SysrootPackage.Editor"
],
"includePlatforms": [
"Editor"
],
"excludePlatforms": [],
"versionDefines": [
{
"name": "Unity",
"expression": "(0,2022.1.23f1)",
"define": "IL2CPP_LEGACY_API_PRESENT"
}
]
}

View File

@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 7bb4ea1d3f6d64e25ac0b0dd565b23aa
AssemblyDefinitionImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,89 @@
using System;
using System.IO;
using System.Collections.Generic;
using UnityEngine;
using NiceIO.Sysroot;
using UnityEditor.Il2Cpp;
namespace UnityEditor.Il2Cpp
{
/// <summary>
/// Sysroot package for Linux x86_64 targets
/// </summary>
public class SysrootLinuxX86_64: SysrootPackage
{
private string _packageName => "com.unity.sysroot.linux-x86_64";
/// <summary>
/// Name of package
/// </summary>
public override string Name => _packageName;
/// <summary>
/// Name of target platform
/// </summary>
public override string TargetPlatform => "linux";
/// <summary>
/// Name of target architecture
/// </summary>
public override string TargetArch => "x86_64";
private string _payloadVersion => "9.1.0-2.17-v0_608efc24a3b402ec57809211b16a6d32d519f891d4038e1fc8509fe300c395b2-1";
private string _payloadDir;
private string _target => "x86_64-glibc2.17-linux-gnu";
private NPath _sysrootInstallDir;
/// <summary>
/// Initialize sysroot
/// </summary>
public SysrootLinuxX86_64()
{
_payloadDir = $"linux-x86/{_payloadVersion}";
RegisterPayload(_packageName, _payloadDir);
_sysrootInstallDir = PayloadInstallDirectory(_payloadDir);
}
/// <summary>
/// Get sysroot install directory
/// </summary>
/// <returns>Directory where sysroot is installed</returns>
public string SysrootInstallDirectory()
{
return _sysrootInstallDir.InQuotes(SlashMode.Native);
}
/// <summary>
/// Arguments supplied to il2cpp.exe
/// </summary>
/// <returns>Next argument to il2cpp.exe</returns>
public override IEnumerable<string> GetIl2CppArguments()
{
var sysroot = PayloadInstallDirectory(_payloadDir);
yield return $"--sysroot-path={sysroot}";
yield return $"--compiler-flags=\"-target {_target}\"";
yield return $"--linker-flags=\"-target {_target}\"";
}
#if !IL2CPP_LEGACY_API_PRESENT
public override string GetSysrootPath()
{
return PayloadInstallDirectory(_payloadDir).ToString();
}
public override string GetToolchainPath()
{
return null;
}
public override string GetIl2CppCompilerFlags()
{
return $"-target {_target}";
}
public override string GetIl2CppLinkerFlags()
{
return $"-target {_target}";
}
#endif
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 06b0a8497e8fe456d8df1c3367519f1c
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 6e81a17100c6f4c2a9256fd0e4e3915c
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,22 @@
# com.unity.sysroot.linux-x86
This package provides a sysroot for building linux x86_64 players.
Please note that the components of the SDK are subject to a variety of
licenses detailed in the LICENSE.md file. While Unity itself does not
use any of the provided libraries in a way that triggers any copyleft
effects, you need to make sure that if you use native code in your
project, said code adheres to the requirements of the licenses
mentioned above. Specifically, the GCC runtime is subject to a GPL
license, but it is also subject to the GCC runtime linking exception
which applies to how the Unity player is using it.
This package is available as a pre-release package, so it is still in the process of becoming stable enough to release. The features and documentation in this package might change before it is ready for release. 
## Installation
To install this package, refer to the instructions that match your Unity Editor version:
### Version 2021.1 and later
To install this package, make sure you [enable pre-release packages](https://docs.unity3d.com/2021.1/Documentation/Manual/class-PackageManager.html#advanced_preview) in the Unity Editor's Package Manager, and then follow the [installation instructions in the Unity User Manual](https://docs.unity3d.com/Documentation/Manual/upm-ui-install.html). 
### Version 2020.3 
To install this package, make sure you [show preview packages](https://docs.unity3d.com/2020.3/Documentation/Manual/class-PackageManager.html#advanced_preview) in the Unity Editor's Package Manager, and then follow the [installation instructions in the Unity User Manual](https://docs.unity3d.com/2020.3/Documentation/Manual/upm-ui-install.html).
### Version 2019.4 
To install this package, make sure you [show preview packages](https://docs.unity3d.com/2019.4/Documentation/Manual/upm-ui-list.html#ShowPreview) in the Unity Editor's Package Manager, and then follow the [installation instructions in the Unity User Manual](https://docs.unity3d.com/2019.4/Documentation/Manual/upm-ui-install.html).

View File

@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 169a1eb50937145adaa82ac869cadee2
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 27987f7a31ce040af97591e628278304
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,3 @@
{
"createSeparatePackage": false
}

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: a4ba451dcf348469cb1fd6802655fd98
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,22 @@
using UnityEngine;
using UnityEditor;
using UnityEngine.TestTools;
using NUnit.Framework;
using System.Collections;
class EditorExampleTest {
[Test]
public void EditorSampleTestSimplePasses() {
// Use the Assert class to test conditions.
}
// A UnityTest behaves like a coroutine in PlayMode
// and allows you to yield null to skip a frame in EditMode
[UnityTest]
public IEnumerator EditorSampleTestWithEnumeratorPasses() {
// Use the Assert class to test conditions.
// yield to skip a frame
yield return null;
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: edfedf42930fc4907869a6fde0ba5ba7
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,21 @@
{
"name": "Unity.Sysroot.Linux_x86_64.EditorTests",
"references": [
"Unity.SysrootPackage.Editor",
"Unity.Sysroot.Linux.x86_64"
],
"optionalUnityReferences": [
"TestAssemblies"
],
"includePlatforms": [
"Editor"
],
"excludePlatforms": [],
"versionDefines": [
{
"name": "Unity",
"expression": "(0,2022.1.23f1)",
"define": "IL2CPP_LEGACY_API_PRESENT"
}
]
}

View File

@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 1ac444c25ae4642a2b37c1c9156d384f
AssemblyDefinitionImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,27 @@
{
"name": "com.unity.sysroot.linux-x86_64",
"displayName": "Sysroot Linux x64",
"description": "Sysroot used to build unity player for linux x86_64",
"version": "2.0.9",
"unity": "2019.4",
"keywords": [
"unity",
"linux",
"sysroot"
],
"dependencies": {
"com.unity.sysroot": "2.0.10"
},
"_upm": {
"changelog": "bump version number to publish"
},
"upmCi": {
"footprint": "843ec9992a690514a0d886b78c27b3f048858ebf"
},
"documentationUrl": "https://docs.unity3d.com/Packages/com.unity.sysroot.linux-x86_64@2.0/manual/index.html",
"repository": {
"url": "https://github.com/Unity-Technologies/com.unity.sysroot.git",
"type": "git",
"revision": "bf7a008256a1175e0f8a0d7d26d6826cbfbe1bb2"
}
}

View File

@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 82b3e10190ae04847a3432984fd63265
PackageManifestImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant: