Answers for "void"

2

void function

public void Yourvoidname()
{
	//Whatever you want to happen when your void is called
}


//somewhere else in your script, for example start()
void Start()
{
	Yourvoidname();
    //when the start function is called(first frame) your void will be called
}
Posted by: Guest on November-18-2020
0

void setup

// Type this command at the top of each Java program.
void setup(){
	// You typically use size(); as well to set the size of your canvas.
  	size(500,500);
}
Posted by: Guest on December-08-2020

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language