Getting Started
Installing
Install Gamem with NuGet CLI:
dotnet add package Gamem
Or with Package Manager Console in Visual Studio
NuGet\Install-Package Gamem
Quick Start
import the library and use any method
using Gamem;
bool isColliding = CollisionGm.CheckAABBVsaABB(
x1: 0, y1: 0, width1: 10, height1: 10,
x2: 5, y2: 5, width2: 10, height2: 10
);
if (isColliding)
{
// Something
}
Install Gamem for Unity
A tutorial how to install Gamem for Unity
- Install NuGetForUnity
- Select NuGet → Manage NuGet Packages
- Search for Gamem and Gamem.Unity in NuGet For Unity and Install the latest version
- Type
using Gamem;andusing Gamem.Unity;and use any method!