Skip to content

Instantly share code, notes, and snippets.

@abc6239657639
Created September 21, 2021 13:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abc6239657639/497ea79df5cc56e590d3579b6daff8ac to your computer and use it in GitHub Desktop.
Save abc6239657639/497ea79df5cc56e590d3579b6daff8ac to your computer and use it in GitHub Desktop.
基于 魔兽争霸3 地图编辑器 YDWE Lua引擎的一些注意事项
Lua各种库都用不成,也导不了库,感觉像是Lua的皮,里面还是限制于编辑器里各种api
require 发现默认只能是同级目录,可以用package.path去添加新路径,但是每个文件夹都要添加,没找到直接添加所有子文件夹的方法,而且需要指定绝对路径,并且没有lua lfs库,连本地路径也获取不到
有待添加。。。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment