summaryrefslogtreecommitdiff
path: root/Source/Asura.Framework/Graphics/particle_system.lua
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2019-01-30 20:30:00 +0800
committerchai <chaifix@163.com>2019-01-30 20:30:00 +0800
commite4a3a354f523ea12601dae2f7cd89caf7aae6c00 (patch)
treef237c84bff9788218bd991fc87500970411ed53b /Source/Asura.Framework/Graphics/particle_system.lua
parent8d6eb73fcd8d42ced53fc4178d4f4fc35c63abf3 (diff)
*misc
Diffstat (limited to 'Source/Asura.Framework/Graphics/particle_system.lua')
-rw-r--r--Source/Asura.Framework/Graphics/particle_system.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Asura.Framework/Graphics/particle_system.lua b/Source/Asura.Framework/Graphics/particle_system.lua
index 17d52e7..055d1b2 100644
--- a/Source/Asura.Framework/Graphics/particle_system.lua
+++ b/Source/Asura.Framework/Graphics/particle_system.lua
@@ -4,8 +4,8 @@ AsuraEngine.ParticleSystem = AsuraEngine.Component.Sub("ParticleSystem")
local ParticleSystem = AsuraEngine.ParticleSystem
-function ParticleSystem.Ctor(self, entity, def)
- self.base(entity)
+function ParticleSystem.Ctor(self, gameobject, def)
+ self.base(gameobject)
self.spriteRenderer = AsuraEngine.SpriteRenderer.New()
end