https://github.com/tariibaba/canvaselementvisibility
Easily hide/show Unity Canvas elements
https://github.com/tariibaba/canvaselementvisibility
canvas csharp ui unity unity-editor
Last synced: about 2 months ago
JSON representation
Easily hide/show Unity Canvas elements
- Host: GitHub
- URL: https://github.com/tariibaba/canvaselementvisibility
- Owner: tariibaba
- Created: 2021-12-06T07:35:42.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-12-06T08:02:27.000Z (over 4 years ago)
- Last Synced: 2025-01-26T06:43:55.420Z (over 1 year ago)
- Topics: canvas, csharp, ui, unity, unity-editor
- Language: C#
- Homepage:
- Size: 21.5 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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.

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