From 15740faf9fe9fe4be08965098bbf2947e096aeeb Mon Sep 17 00:00:00 2001 From: chai <chaifix@163.com> Date: Wed, 14 Aug 2019 22:50:43 +0800 Subject: +Unity Runtime code --- Runtime/Interfaces/IAnimation.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Runtime/Interfaces/IAnimation.cpp (limited to 'Runtime/Interfaces/IAnimation.cpp') 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; +} -- cgit v1.1-26-g67d0