- Home /
Question by
Necronomicron · Sep 04, 2016 at 09:19 AM ·
uieventtoggle
Toggle's 'On Value Changed' checkbox is shown for bool parameter function
I wonder is it a bug or not, because I don't remember such behaviour before.
If I set SetActive
function, there is no checkbox, if then I change function to custom, checkbox appears. Example of signature:
public void ToggleColorNames(bool show)
If then I switch back to SetActive
function, checkbox is still there. So at least the last part is a bug. I workarounded that, but I just want to know.
Comment
Your answer
Follow this Question
Related Questions
Toggle Event passing bool [4.6+] 2 Answers
How to have a callback when a toggle is clicked in a toggle group? 3 Answers
Is there a way to know when mouse is 'hovering' over a Toggle? 2 Answers
Is there an event other than OnValueChanged for Toggle UI? 0 Answers
How to make a toggle not be deselected within a toggle group? 1 Answer