Table of Contents

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

  1. Install NuGetForUnity
  2. Select NuGet → Manage NuGet Packages

01

  1. Search for Gamem and Gamem.Unity in NuGet For Unity and Install the latest version

02
04

  1. Type using Gamem; and using Gamem.Unity; and use any method!

05

API Reference