summaryrefslogtreecommitdiff
path: root/Source/Asura.Framework/scripts/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Asura.Framework/scripts/graphics')
-rw-r--r--Source/Asura.Framework/scripts/graphics/animator.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/Asura.Framework/scripts/graphics/animator.lua b/Source/Asura.Framework/scripts/graphics/animator.lua
index 170d31f..5c77adc 100644
--- a/Source/Asura.Framework/scripts/graphics/animator.lua
+++ b/Source/Asura.Framework/scripts/graphics/animator.lua
@@ -1,4 +1,6 @@
-AsuraEngine.Animator = AsuraEngine.Component.Sub("Animator")
+local Component = AsuraEngine.Framework.Require("component")
+
+AsuraEngine.Animator = Component.Sub("Animator")
local Animator = AsuraEngine.Animator