Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/tariibaba/canvaselementvisibility

Easily hide/show Unity Canvas elements
https://github.com/tariibaba/canvaselementvisibility

canvas csharp ui unity unity-editor

Last synced: 21 days ago
JSON representation

Easily hide/show Unity Canvas elements

Awesome Lists containing this project

README

        

# CanvasElementVisibility
Easily hide/show Unity Canvas elements.

# Usage
## Unity Editor
Add the CanvasElementVisibility component script to the game object you want to hide/show and toggle the *Visible* property to change its visibility.

![Unity Editor Usage](Images/unity-editor-usage.png)

## Code
```csharp
gameObject.GetComponent().Visible = true;
```