我想向敌人开枪 但我无法正确设置子弹的方向 我怎么设置呢? 这是我的代码。
GameObject gm = (GameObject)Instantiate(BulletPrefab, BulletPoint.position, BulletPoint.rotation);
答案 0 :(得分:0)
.dataTables_paginate .disabled {
display:none;
}
dataTables_paginate .disabled + span {
display:none;
}
答案 1 :(得分:0)
GameObject monster = (GameObject)Instantiate(Resources.Load("Bullet"));
monster.transform.position = BulletPoint.transform.position;
monster.transform.rotation = BulletPoint.transform.rotation;