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/BaseClasses/IsPlaying.h |
Diffstat (limited to 'Runtime/BaseClasses/IsPlaying.h')
-rw-r--r-- | Runtime/BaseClasses/IsPlaying.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Runtime/BaseClasses/IsPlaying.h b/Runtime/BaseClasses/IsPlaying.h new file mode 100644 index 0000000..740ffb8 --- /dev/null +++ b/Runtime/BaseClasses/IsPlaying.h @@ -0,0 +1,9 @@ +#ifndef ISPLAYING_H +#define ISPLAYING_H + +/// Is the world playmode? (Otherwise we are in editor mode) +bool EXPORT_COREMODULE IsWorldPlaying (); + +void SetIsWorldPlaying (bool isPlaying); + +#endif |