summaryrefslogtreecommitdiff
path: root/Runtime/BaseClasses/IsPlaying.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2019-08-14 22:50:43 +0800
committerchai <chaifix@163.com>2019-08-14 22:50:43 +0800
commit15740faf9fe9fe4be08965098bbf2947e096aeeb (patch)
treea730ec236656cc8cab5b13f088adfaed6bb218fb /Runtime/BaseClasses/IsPlaying.h
+Unity Runtime codeHEADmaster
Diffstat (limited to 'Runtime/BaseClasses/IsPlaying.h')
-rw-r--r--Runtime/BaseClasses/IsPlaying.h9
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