diff options
author | chai <chaifix@163.com> | 2019-08-14 22:50:43 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2019-08-14 22:50:43 +0800 |
commit | 15740faf9fe9fe4be08965098bbf2947e096aeeb (patch) | |
tree | a730ec236656cc8cab5b13f088adfaed6bb218fb /Runtime/Core/Callbacks/GlobalCallbacks.cpp |
Diffstat (limited to 'Runtime/Core/Callbacks/GlobalCallbacks.cpp')
-rw-r--r-- | Runtime/Core/Callbacks/GlobalCallbacks.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Runtime/Core/Callbacks/GlobalCallbacks.cpp b/Runtime/Core/Callbacks/GlobalCallbacks.cpp new file mode 100644 index 0000000..5e9534b --- /dev/null +++ b/Runtime/Core/Callbacks/GlobalCallbacks.cpp @@ -0,0 +1,9 @@ +#include "UnityPrefix.h" +#include "GlobalCallbacks.h" + +static GlobalCallbacks gGlobalCallback; + +GlobalCallbacks& GlobalCallbacks::Get() +{ + return gGlobalCallback; +} |