Answers for "invoke once on update unity"

C#
3

invoke once on update unity

bool isDone = false;

void Update() {
    if (!isDone) {
        // put your code that runs once here
        isDone = true;
    }
}
Posted by: Guest on July-23-2020

Code answers related to "invoke once on update unity"

C# Answers by Framework

Browse Popular Code Answers by Language