Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

unity having virtual start

// There is not built in way for having start as virtual.
// Use a custom function inside of the latest start function
public void VStart()
{
	// first start method
}

public void Start()
{
	VStart();
	// second start method
}
 
PREVIOUS NEXT
Tagged: #unity #virtual #start
ADD COMMENT
Topic
Name
6+4 =