How do you start a void that contains parameters inside? Code (CSharp): void Start() { myvoid();//this does not work, only with void without parameter } void myvoid(int parameter) {
What exactly is your question? If you don't want myvoid to accept a parameter, remove the parameter from its declaration. If you want it to accept a default argument, specify the default value in the function declaration. Otherwise, give it a parameter when you call it.