代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。

原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html



三四六.停止刮风(让游戏不再因刮风而卡顿)

	用MT管理器打开游戏目录/assets/DLC0002/scripts/prefabs/forest.lua文件,将inst:AddComponent("worldwind")替换为--inst:AddComponent("worldwind")

	即可停止游戏中的刮风设定,好处是游戏不再卡顿,坏处是滚草将停在原地