user10847550
user10847550

Reputation: 3

Hiding a toggle using a toggle

How could I hide a toggle from my scene and set it as non-interactable by player input by a second toggle’s “flip”. Any help is appreciated as I am just a beginner.

Upvotes: 0

Views: 37

Answers (1)

zambari
zambari

Reputation: 5035

when you wire up a toggle you can set it to control either gameObject.SetActive() or via toggle.interactable, both ways are really easy to use

Upvotes: 1

Related Questions