summaryrefslogtreecommitdiff
path: root/Runtime/Export/GameObjectExport.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/Export/GameObjectExport.h
+Unity Runtime codeHEADmaster
Diffstat (limited to 'Runtime/Export/GameObjectExport.h')
-rw-r--r--Runtime/Export/GameObjectExport.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/Runtime/Export/GameObjectExport.h b/Runtime/Export/GameObjectExport.h
new file mode 100644
index 0000000..69e07f4
--- /dev/null
+++ b/Runtime/Export/GameObjectExport.h
@@ -0,0 +1,17 @@
+#ifndef _GAMEOBJECTEXPORT_H_
+#define _GAMEOBJECTEXPORT_H_
+
+#include "UnityPrefix.h"
+
+#include "Runtime/Scripting/Backend/ScriptingTypes.h"
+
+namespace Unity
+{
+ class GameObject;
+}
+
+ScriptingObjectPtr MonoAddComponent(Unity::GameObject& go, const char* name);
+ScriptingObjectPtr MonoAddComponentWithType(Unity::GameObject& go, ScriptingObjectPtr reflectionTypeObject, bool dontShareMonoScript = false);
+Unity::GameObject* MonoCreateGameObject(const char* name);
+
+#endif