Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zchfvy/GizmosPlus
A Unity Package that provides additional GIzmo shapes and tools.
https://github.com/zchfvy/GizmosPlus
gizmos unity unity-package unity-package-manager
Last synced: 2 months ago
JSON representation
A Unity Package that provides additional GIzmo shapes and tools.
- Host: GitHub
- URL: https://github.com/zchfvy/GizmosPlus
- Owner: zchfvy
- License: mit
- Created: 2019-04-05T05:46:25.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-02-18T04:24:11.000Z (almost 4 years ago)
- Last Synced: 2024-10-30T00:04:32.591Z (3 months ago)
- Topics: gizmos, unity, unity-package, unity-package-manager
- Language: C#
- Size: 444 KB
- Stars: 45
- Watchers: 2
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
- awesome-unity-open-source-on-github - GizmosPlus - A Unity Package that provides additional GIzmo shapes and tools (Gizmo)
README
[![openupm](https://img.shields.io/npm/v/com.zchfvy.gizmosplus?label=openupm®istry_uri=https://package.openupm.com)](https://openupm.com/packages/com.zchfvy.gizmosplus/)
# 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](Images/showcase.png)
## Installation
### Via OpenUPM
This package is available on the [OpenUPM registry](https://openupm.com). You
can install it form there using
[openupm-cli](https://github.com/openupm/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`:
```json
"com.zchfvy.gizmosplus": "https://github.com/zchfvy/GizmosPlus.git"
```## Usage
At the top of your file use the Plus namespace
```c#
using Zchfvy.Plus
```Then simply call methods out of the `GizmosPlus` class
```c#
GizmosPlus.Cross(transform.position, 1.0f)
```For creating Gizmos outside normal flow use the `GizmosPlusAsync` class
```c#
GizmosPlusAsync.DrawAsync(() => {
// Draw Gizmos in here
});
```For a complete listing of available methods and their parameters please consult
the [Documentation](https://zchfvy.github.io/GizmosPlus/Documentation/html/annotated.html)