Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

unity custom update

float StartingRate = 0.5f;
float UpdateRate = 0.3f;

void Start(){
	InvokeRepeating("CustomUpdate",StartRate, UpdateRate);
    //This will start in 0.5s and start repeating in 0.3f 
}
void CustomUpdate(){
	//Your code here
}
 
PREVIOUS NEXT
Tagged: #unity #custom #update
ADD COMMENT
Topic
Name
2+1 =