Skip to content

A little bit overkill toggle button UI for Unity Engine

License

Notifications You must be signed in to change notification settings

jcs090218/Unity_Toggle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages