Question by
Alexander_Hart · Jun 11, 2017 at 08:11 PM ·
editorparameters
Passing boolean value as argument to OnClick Method?
I have a function I wrote that takes two parameters, one of which being a boolean value. My intention is to execute this function during a button's onClick call, but I am having trouble finding a way to pass my boolean value into the editor.
Is there anyway to go about doing this?
screen-shot-2017-06-11-at-40535-pm.png
(45.8 kB)
Comment
Your answer
Follow this Question
Related Questions
Assigning multiple assets to multiple variables on inspector 1 Answer
Camera Preview is empty 5 Answers
Unity Mac version 5.2.3f1 crash every time after 5 minutes 0 Answers
Why is the Android SDK not showing in Unity after installing it? 3 Answers
Custom editor: EditorGui.DrawPreviewTexture in SceneView only works in the top right corner 1 Answer