Input problem

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

Try disabling the script in editor and then enabeling it by clicking on button.