diff options
Diffstat (limited to 'Runtime/Export/GameObjectExport.h')
-rw-r--r-- | Runtime/Export/GameObjectExport.h | 17 |
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 |