JuniorBaltazar / Custom-2D-Colliders

A set of custom 2D colliders for Unity.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Custom 2D Colliders

A set of custom 2D colliders for Unity.

Preview

alt Preview

Colliders included:

  • Bezier Curve Collider 2D
  • Arc Collider 2D
  • Ellipse Collider 2D
  • Rounded Box Collider 2D
  • Capsule Collider 2D
  • Star Collider 2D

Installation:

Method 1:

  • Open your Unity project
  • Go to Assets > Import Package > Custom Package > Browse

alt Select Package

  • Select CustomColliders2D.unitypackage

alt Select Package

  • Select all the files
  • Click on Import

alt ada

Method 2:

  • Simply drag the Custom 2D Colliders folder to your project

Usage

You can add the custom collider scripts to your gameobject in any of the following ways

  • Drag the script from the project window on to the GameObject
  • From the inspector window. Example: Add Component > Physics 2D > Bezier Curves Collider 2D

alt Adding the collider

About

A set of custom 2D colliders for Unity.

License:MIT License


Languages

Language:C# 100.0%