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/Misc/GOCreation.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Runtime/Misc/GOCreation.h (limited to 'Runtime/Misc/GOCreation.h') diff --git a/Runtime/Misc/GOCreation.h b/Runtime/Misc/GOCreation.h new file mode 100644 index 0000000..67d04b4 --- /dev/null +++ b/Runtime/Misc/GOCreation.h @@ -0,0 +1,18 @@ +#ifndef GO_CREATION_CPP_H +#define GO_CREATION_CPP_H + +#include "Runtime/BaseClasses/GameObject.h" + +enum +{ + kPrimitiveSphere = 0, + kPrimitiveCapsule = 1, + kPrimitiveCylinder = 2, + kPrimitiveCube = 3, + kPrimitivePlane = 4, + kPrimitiveQuad = 5 +}; + +Unity::GameObject* CreatePrimitive (int type); + +#endif -- cgit v1.1-26-g67d0