Skip to content

A Unity Package that provides additional GIzmo shapes and tools.

License

Notifications You must be signed in to change notification settings

zchfvy/GizmosPlus

Repository files navigation

openupm

GizmosPlus

A toolkit for easier Gizmo usage in Unity. Contains various commonly used useful shapes and also functionality for drawing Gizmos outside of normal OnDrawGizmos flow.

some gizmos from this package

Installation

Via OpenUPM

This package is available on the OpenUPM registry. You can install it form there using openupm-cli:

openupm add com.zchfvy.gizmosplus

Via git

Alternatively, this can be isntalled directly from github.Simply open your manifest.json file located in the Packages folder of your unity project and add the follwing line to the list of dependencies:

"com.zchfvy.gizmosplus": "https://github.com/zchfvy/GizmosPlus.git"

Usage

At the top of your file use the Plus namespace

using Zchfvy.Plus

Then simply call methods out of the GizmosPlus class

GizmosPlus.Cross(transform.position, 1.0f)

For creating Gizmos outside normal flow use the GizmosPlusAsync class

GizmosPlusAsync.DrawAsync(() => {
    // Draw Gizmos in here
});

For a complete listing of available methods and their parameters please consult the Documentation

About

A Unity Package that provides additional GIzmo shapes and tools.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published