An open API service indexing awesome lists of open source software.

https://github.com/ivanmurzak/unity-nondrawinggraphic

UI component which doesn't have drawing event at all. But still can receive click events. More optimized to have something invisible and clickable in Unity UI.
https://github.com/ivanmurzak/unity-nondrawinggraphic

unity unity-ui unity2d unity3d unity3d-plugin

Last synced: 3 months ago
JSON representation

UI component which doesn't have drawing event at all. But still can receive click events. More optimized to have something invisible and clickable in Unity UI.

Awesome Lists containing this project

README

        

# Non Drawing Graphic

![npm](https://img.shields.io/npm/v/extensions.unity.nondrawinggraphic) [![openupm](https://img.shields.io/npm/v/extensions.unity.nondrawinggraphic?label=openupm&registry_uri=https://package.openupm.com)](https://openupm.com/packages/extensions.unity.nondrawinggraphic/) ![License](https://img.shields.io/github/license/IvanMurzak/Unity-NonDrawingGraphic) [![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/badges/StandWithUkraine.svg)](https://stand-with-ukraine.pp.ua)

Unity UI component which doesn't have drawing event at all. But still can receive click events. More optimized to have something invisible and clickable in Unity UI.

# Usage

Add `NonDrawingGraphic` component to UI Game Object under Canvas in Unity Scene.

![image](https://user-images.githubusercontent.com/9135028/222345963-57812733-26f1-47b0-9c02-b87ce7a3e037.png)

# Installation

When you package is distributed, you can install it into any Unity project.

- [Install OpenUPM-CLI](https://github.com/openupm/openupm-cli#installation)
- Open command line in Unity project folder
- Execute the command
```
openupm add extensions.unity.nondrawinggraphic
```