Skip to content

jcs090218/Unity.Toggle

Repository files navigation

License: MIT Unity Engine

Unity Toggle

Build Status

A little bit overkill iOS style toggle button.

πŸ”¨ Usage

JCS_Toggle togBtn = this.GetComponent<JCS_Toggle>();

// Check if the toggle is on or off?
bool isOn = togBtn.IsOn;

// Toggle the button.
togBtn.Toggle();

// Set interactable.
togBtn.Interactable = !togBtn.Interactable;

πŸ“Œ Dependencies

πŸ”— Related Tool

About

A little bit overkill toggle button UI for Unity Engine

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages