OnUpdate

void OurUpdateFunction()
{
    // Your special code...
}

void OnLoad()
{
    IL2CPP::Callback::Initialize();
    IL2CPP::Callback::OnUpdate::Add(OurUpdateFunction);
}

Last updated