Add templates and many other things

This commit is contained in:
Michał Gdula 2023-05-06 23:11:20 +01:00
parent 330201be3a
commit 62945c943d
414 changed files with 14758 additions and 4145 deletions

View file

@ -0,0 +1,20 @@
# com.unity.toolchain.linux-x86_64
The com.unity.toolchain.linux-x86_64 package supplies a toolchain and sysroot for building Linux IL2CPP players on a Linux-x86_64 host. It depends on the following packages:
- com.unity.sysroot for common code
- com.unity.sysroot.linux-x86_64 for the Linux x86_64 sysroot
[!include[prereqinfo](./snippets/prereqinfo.md)]
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 the 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,4 @@
**Note**: You only need to install the toolchain package. The package manager installs dependent packages automatically.
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).
Before you install your chosen package, make sure you have the Linux-IL2CPP module installed for your editor. For further information about using modules, see [Adding modules to the Unity Editor](https://docs.unity3d.com/Manual/GettingStartedAddingEditorComponents.html).