Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
hiii
我对 cocos2d 很陌生。我将通过-(void) update:(ccTime)dt方法以秒为单位计算时间。请任何人告诉我-(void) update:(ccTime)dt方法的dt是否以毫秒为单位。
提前致谢
ccTime 类型以秒为单位表示时间。
但是您通常会收到毫秒范围内的值,例如0.001.
0.001