Unity3D 2.0.0-rc2
See the version list below for details.
Requires NuGet 2.5 or higher.
dotnet add package Unity3D --version 2.0.0-rc2
NuGet\Install-Package Unity3D -Version 2.0.0-rc2
<PackageReference Include="Unity3D" Version="2.0.0-rc2" />
paket add Unity3D --version 2.0.0-rc2
#r "nuget: Unity3D, 2.0.0-rc2"
// Install Unity3D as a Cake Addin #addin nuget:?package=Unity3D&version=2.0.0-rc2&prerelease // Install Unity3D as a Cake Tool #tool nuget:?package=Unity3D&version=2.0.0-rc2&prerelease
Basic Usage
To use this package, define a Directory.Build.props
file in the same folder as your .csproj file (or any of its parent folders),
and add code like the following:
<Project>
<PropertyGroup>
<UnityProjectPath>relative\path\to\UnityProject</UnityProjectPath>
... or ...
<UnityVersion>2022.2.3f1</UnityVersion>
</PropertyGroup>
</Project>
Then, make sure your .csproj file looks something like this:
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Unity3D" Version="2.0.0-rc2" />
</ItemGroup>
</Project>
More Info
For complete documentation, see the README on GitHub.
Support is only provided for the Unity versions that Unity itself supports (latest tech stream and latest two LTS releases).
Tested in the following Unity versions.
- 2022.2, 2022.1
- 2021.3 LTS, 2021.2, 2021.1
- 2020.3 LTS, 2020.1
- 2019.4 LTS
- 2018.4 LTS
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages (4)
Showing the top 4 NuGet packages that depend on Unity3D:
Package | Downloads |
---|---|
koiverse_lib_base
Package Description |
|
Unilonia.Connector
Package Description |
|
UnityUtil
A set of utility classes and components useful to any Unity project. |
|
TECore
Package Description |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on Unity3D:
Repository | Stars |
---|---|
realm/realm-dotnet
Realm is a mobile database: a replacement for SQLite & ORMs
|
Version | Downloads | Last updated | |
---|---|---|---|
3.0.0 | 552 | 7/17/2024 | |
3.0.0-rc1 | 83 | 7/16/2024 | |
2.1.3 | 2,256 | 8/17/2023 | |
2.1.2 | 1,153 | 4/26/2023 | |
2.1.1 | 565 | 2/17/2023 | |
2.1.0 | 385 | 1/27/2023 | |
2.0.1 | 2,214 | 6/1/2022 | |
2.0.0 | 450 | 6/1/2022 | |
2.0.0-rc2 | 252 | 5/30/2022 | |
2.0.0-rc1 | 232 | 5/21/2022 | |
1.7.0 | 4,700 | 12/31/2020 | |
1.6.0 | 733 | 12/17/2020 | |
1.5.0 | 1,264 | 8/24/2020 | |
1.4.0 | 896 | 7/27/2020 | |
1.3.1 | 1,114 | 3/11/2020 | |
1.3.0 | 1,035 | 12/23/2019 | |
1.2.0 | 1,043 | 8/21/2019 | |
1.1.0 | 1,033 | 6/20/2019 | |
1.1.0-rc2 | 557 | 6/20/2019 | |
1.1.0-rc1 | 564 | 6/19/2019 | |
1.0.0-rc1 | 540 | 6/17/2019 |
- Unity version can now be parsed automatically from the ProjectVersion.txt file in a Unity project, if not set explicitly.
- Added many new short-hand properties, with more consistent naming (relative paths end in "Dir" or "Assembly", absolute paths end in "Path")
- If neither UnityVersion nor UnityProjectPath are explicitly set, then UnityVersion is set to a constant string to explain the issue
- Added UnityVersionMajor, UnityVersionMinor, UnityVersionPatch, and UnityVersionAsNumber props for manipulation of Unity versions as numbers
- Updated usage notes in all Readme documents
- Added test projects for Tech Stream Unity releases up through 2022.1
- BREAKING CHANGES:
- Renamed "OSInstallRoot" property to "OSInstallRootPath" and "UnityInstallRoot" to "UnityInstallRootPath", to be consistent with other prop names
- Reference Include paths no longer need to start with $(UnityInstallRoot)/$(UnityVersion). Most paths will now use a single short-hand property
- Assembly short-hand properties are now conditionally defined based on UnityVersion