Installation and configuration - KurbanismailovZaur/Extensions GitHub Wiki

Installation

Go to Project Settings → Package Manager and add a new registry area as in the table below.

Name package.openupm.com
URL https://package.openupm.com
Scope(s) com.codomaster
%D0%A1%D0%BD%D0%B8%D0%BC%D0%BE%D0%BA_%D1%8D%D0%BA%D1%80%D0%B0%D0%BD%D0%B0_2024-01-20_%D0%B2_13 09 00

After that, click Apply, go to Window → Package Manager and select the My Registries section.

%D0%A1%D0%BD%D0%B8%D0%BC%D0%BE%D0%BA_%D1%8D%D0%BA%D1%80%D0%B0%D0%BD%D0%B0_2024-01-20_%D0%B2_13 12 59

As a result, a list of all packages from the developer com.codomaster will be displayed, among them select Unity API Extensions and install it.

%D0%A1%D0%BD%D0%B8%D0%BC%D0%BE%D0%BA_%D1%8D%D0%BA%D1%80%D0%B0%D0%BD%D0%B0_2024-01-20_%D0%B2_13 14 23

After this, the Unity API Extensions folder should appear in the Packages folder.

%D0%A1%D0%BD%D0%B8%D0%BC%D0%BE%D0%BA_%D1%8D%D0%BA%D1%80%D0%B0%D0%BD%D0%B0_2024-01-20_%D0%B2_13 15 43

Now you can use this package in your development. If a new version of this package is released, you will see it right in the Package Manager inside Unity.

Connect the namespace

To work with extensions, simply include the following namespace.

using Codomaster.Extensions;
💡 Many of the extension methods in this library have overloads that won't always be covered in this documentation, but you should have no problem using them.
⚠️ **GitHub.com Fallback** ⚠️