mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-09 16:48:43 +08:00
add support for loading from relative directories to make the example load out of the box
This commit is contained in:
parent
09ff781a9a
commit
3a9623cdd7
@ -25,6 +25,9 @@
|
||||
|
||||
spine = {}
|
||||
|
||||
local path = system.pathForFile("../")
|
||||
package.path = package.path .. ";".. path .. "/?.lua"
|
||||
|
||||
spine.utils = require "spine-lua.utils"
|
||||
spine.SkeletonJson = require "spine-lua.SkeletonJson"
|
||||
spine.SkeletonData = require "spine-lua.SkeletonData"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user