summaryrefslogtreecommitdiff
path: root/Source/Asura.Framework/Graphics/mesh2d_renderer.lua
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2019-01-29 08:52:30 +0800
committerchai <chaifix@163.com>2019-01-29 08:52:30 +0800
commit6756fad2ec987b48f9e2afb967d9ba65f117f9b9 (patch)
tree54ed8777f4ffe00c8786265bb54d62479099a4f4 /Source/Asura.Framework/Graphics/mesh2d_renderer.lua
parenta94b3b42900d612d25bc1a40280a21fb46ffbc4b (diff)
*misc
Diffstat (limited to 'Source/Asura.Framework/Graphics/mesh2d_renderer.lua')
-rw-r--r--Source/Asura.Framework/Graphics/mesh2d_renderer.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Asura.Framework/Graphics/mesh2d_renderer.lua b/Source/Asura.Framework/Graphics/mesh2d_renderer.lua
index 01f0d90..debfd37 100644
--- a/Source/Asura.Framework/Graphics/mesh2d_renderer.lua
+++ b/Source/Asura.Framework/Graphics/mesh2d_renderer.lua
@@ -1,5 +1,5 @@
-local Mesh2DRenderer = Class()
-
+local Mesh2DRenderer = AsuraEngine.Component.Sub("Mesh2DRenderer")
+AsuraEngine.Mesh2DRenderer = Mesh2DRenderer
return Mesh2DRenderer \ No newline at end of file