- Home /
Input problem
hi How can i turn button into a input and i mean here when u go to a canvas and hit create button
so what i want is if i clicked the created button it should run the whole code and not a part of it or a method
if anyone can help me i would really be thankful
Comment
You could make the button run a function that enables a script, therefore making the button run the entire code.
Answer by zyppi1 · Aug 06, 2020 at 08:02 AM
Try disabling the script in editor and then enabeling it by clicking on button.
what do u mean. do u mean : Anyscript name.enabled = true or false: ?
on button you have on click method.You can put there the whole script and enable it.
ok thanks it worked now. we really need more of you bro