summaryrefslogtreecommitdiff
path: root/Runtime/Interfaces/IAnimation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Runtime/Interfaces/IAnimation.cpp')
-rw-r--r--Runtime/Interfaces/IAnimation.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/Runtime/Interfaces/IAnimation.cpp b/Runtime/Interfaces/IAnimation.cpp
new file mode 100644
index 0000000..4e63c73
--- /dev/null
+++ b/Runtime/Interfaces/IAnimation.cpp
@@ -0,0 +1,13 @@
+#include "UnityPrefix.h"
+#include "IAnimation.h"
+
+static IAnimation* gAnimation = NULL;
+IAnimation* GetAnimationInterface()
+{
+ return gAnimation;
+}
+
+void SetAnimationInterface(IAnimation* theInterface)
+{
+ gAnimation = theInterface;
+}