function BackgroundLayer:ctor()
performWithDelay(self, BackgroundLayer.setUpdatebackground, 0)
end
function BackgroundLayer:setUpdatebackground( dt )
schedule(self, BackgroundLayer.updateBackground, 0)
end
function BackgroundLayer:updateBackground( dt )
end
请问这样写可以么?还有就是为啥dt是空?求大神帮忙解决