Android里面有runOnUiThread,IOS下有performSelectorOnMainThread。
cocos2dx在3.0以上的版本中则可以用Scheduler::performFunctionInCocosThread。
Android里面有runOnUiThread,IOS下有performSelectorOnMainThread。
cocos2dx在3.0以上的版本中则可以用Scheduler::performFunctionInCocosThread。

被折叠的 条评论
为什么被折叠?