diff options
author | chai <chaifix@163.com> | 2019-01-31 09:06:15 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2019-01-31 09:06:15 +0800 |
commit | c581dfbf1e849f393861d15e82aa6446c0c1c310 (patch) | |
tree | 2df779ba98acdd04a4b52f6bff0de143dfba4600 /Source/Asura.Framework/scripts/path | |
parent | fc1713e9df3ae8db6e612610023e7bd5f6b6f5fe (diff) |
*misc
Diffstat (limited to 'Source/Asura.Framework/scripts/path')
-rw-r--r-- | Source/Asura.Framework/scripts/path/path.lua | 13 | ||||
-rw-r--r-- | Source/Asura.Framework/scripts/path/path_calculator.lua | 12 | ||||
-rw-r--r-- | Source/Asura.Framework/scripts/path/path_manager.lua | 0 |
3 files changed, 25 insertions, 0 deletions
diff --git a/Source/Asura.Framework/scripts/path/path.lua b/Source/Asura.Framework/scripts/path/path.lua new file mode 100644 index 0000000..3b6079d --- /dev/null +++ b/Source/Asura.Framework/scripts/path/path.lua @@ -0,0 +1,13 @@ +local Path = AsuraEngine.Asset.New("path") + +function Path:Ctor() + +end + +-- ToAssetѶpathתΪ.assetļʽ +function Path.ToAsset(path) + local builder = AsuraEngine.AssetBuilder.Get() + +end + +return Path
\ No newline at end of file diff --git a/Source/Asura.Framework/scripts/path/path_calculator.lua b/Source/Asura.Framework/scripts/path/path_calculator.lua new file mode 100644 index 0000000..1a564b8 --- /dev/null +++ b/Source/Asura.Framework/scripts/path/path_calculator.lua @@ -0,0 +1,12 @@ +--[[ +ڱ༭componentsб +]] +local PathCalculator = AsuraEngine.Component.New("PathCalculator") + +PathCalculator.path = AsuraEngine.Asset.Type("path", "·") + +function PathCalculator:ctor(path) + self.path = path +end + +return PathCalculator
\ No newline at end of file diff --git a/Source/Asura.Framework/scripts/path/path_manager.lua b/Source/Asura.Framework/scripts/path/path_manager.lua new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/Source/Asura.Framework/scripts/path/path_manager.lua |