From 15740faf9fe9fe4be08965098bbf2947e096aeeb Mon Sep 17 00:00:00 2001 From: chai Date: Wed, 14 Aug 2019 22:50:43 +0800 Subject: +Unity Runtime code --- Runtime/BaseClasses/IsPlaying.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Runtime/BaseClasses/IsPlaying.h (limited to 'Runtime/BaseClasses/IsPlaying.h') 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 -- cgit v1.1-26-g67d0