GizmosPlus Save

A Unity Package that provides additional GIzmo shapes and tools.

Project README

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

Open Source Agenda is not affiliated with "GizmosPlus" Project. README Source: zchfvy/GizmosPlus
Stars
42
Open Issues
1
Last Commit
3 years ago
Repository
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating