diff options
author | chai <chaifix@163.com> | 2019-01-27 01:26:36 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2019-01-27 01:26:36 +0800 |
commit | 6c8788ed76e1ead173fdeb51caaa43d538fcfe21 (patch) | |
tree | 4ec71c3aca07d58d96574671f83f9750f901cb11 /Source/Asura.Framework/filesystem/path_loader.lua | |
parent | 409262a6a26972770ba64728a60d45dd2d9fb752 (diff) |
*misc
Diffstat (limited to 'Source/Asura.Framework/filesystem/path_loader.lua')
-rw-r--r-- | Source/Asura.Framework/filesystem/path_loader.lua | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/Source/Asura.Framework/filesystem/path_loader.lua b/Source/Asura.Framework/filesystem/path_loader.lua index c62be96..8618c03 100644 --- a/Source/Asura.Framework/filesystem/path_loader.lua +++ b/Source/Asura.Framework/filesystem/path_loader.lua @@ -1,10 +1,9 @@ -local PathLoader = AsuraEngine.Loader.New("path") -local PathManager = require "Path/PathManager" +require "Path/PathManager" -function PathLoader.Load(asset) +local loader = AsuraEngine.Loader.New("path") + +function loader.Load(asset) if asset.type ~= "path" then return nil end -end - -return Path
\ No newline at end of file +end
\ No newline at end of file |