From 22ba8d6af9e9a67e6bac11365df23b6a61fa62c7 Mon Sep 17 00:00:00 2001 From: chai Date: Fri, 22 Feb 2019 13:50:12 +0800 Subject: =?UTF-8?q?*=E4=BF=AE=E6=94=B9=E7=BC=A9=E8=BF=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/Asura.Framework/scripts/path/path.lua | 4 ++-- Source/Asura.Framework/scripts/path/path_calculator.lua | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'Source/Asura.Framework/scripts/path') diff --git a/Source/Asura.Framework/scripts/path/path.lua b/Source/Asura.Framework/scripts/path/path.lua index 3b6079d..1fc9b3a 100644 --- a/Source/Asura.Framework/scripts/path/path.lua +++ b/Source/Asura.Framework/scripts/path/path.lua @@ -6,8 +6,8 @@ end -- ToAsset方法把对象path转换为.asset文件格式 function Path.ToAsset(path) - local builder = AsuraEngine.AssetBuilder.Get() - + 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 index 1a564b8..d44da08 100644 --- a/Source/Asura.Framework/scripts/path/path_calculator.lua +++ b/Source/Asura.Framework/scripts/path/path_calculator.lua @@ -6,7 +6,7 @@ local PathCalculator = AsuraEngine.Component.New("PathCalculator") PathCalculator.path = AsuraEngine.Asset.Type("path", "路径") function PathCalculator:ctor(path) - self.path = path + self.path = path end return PathCalculator \ No newline at end of file -- cgit v1.1-26-g67d0