C++ Call function once

后端 未结 0 454
遥遥无期
遥遥无期 2020-12-23 07:07

Is smarter way to do this than

static bool init = false;

if (!init)
{
   init = true;
}

without every frame checking

if (!ini         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题