What would be easier making a new script or add it to this one? I want it to be able to active/dis-active jump in want “Level” you are on. If you can help me that also be cool aswell. Player is a ball btw
Thank you
Luke
What would be easier making a new script or add it to this one? I want it to be able to active/dis-active jump in want “Level” you are on. If you can help me that also be cool aswell. Player is a ball btw
Thank you
Luke
I am not sure if I understood your question correctly, but you can disable and enable other components by simply:
C#:
GetComponent<ScriptNameHere>().enabled = false;
JS:
GetComponent(ScriptNameHere).enabled = false;