Director::getInstance()->getScheduler()->performFunctionInCocosThread([&,this] { log("[performFunctionInCocosThread] finished!"); });