diff options
author | chai <chaifix@163.com> | 2019-08-14 22:50:43 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2019-08-14 22:50:43 +0800 |
commit | 15740faf9fe9fe4be08965098bbf2947e096aeeb (patch) | |
tree | a730ec236656cc8cab5b13f088adfaed6bb218fb /Runtime/Misc/GOCreation.h |
Diffstat (limited to 'Runtime/Misc/GOCreation.h')
-rw-r--r-- | Runtime/Misc/GOCreation.h | 18 |
1 files changed, 18 insertions, 0 deletions
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 |