C#使用旋转实例化预制件

时间:2018-01-30 08:44:29

标签: c# unity3d rotation instantiation

我对此代码有点问题:

+---------------------+
|newCol               |
+---------------------+
|[1.0,2.0,0.0,0.0,0.0]|
|[1.0,2.0,3.0,0.0,0.0]|
|[1.0,2.0,4.0,5.0,0.0]|
|[1.0,2.0,2.0,5.0,6.0]|
+---------------------+

问题在于,在实例化对象时,它具有z旋转。所以我有一个效果,当我点击屏幕时,它应该实例化,并吹向播放器方向。它有不同的旋转,如何使旋转正确。 THKS !!!

0 个答案:

没有答案