|
@@ -44,6 +44,7 @@ public class Arrow : MonoBehaviour
|
|
|
{
|
|
{
|
|
|
arrowSet.Add(this);
|
|
arrowSet.Add(this);
|
|
|
GameMgr.ins.gameMode.PauseTimeCounting(this);
|
|
GameMgr.ins.gameMode.PauseTimeCounting(this);
|
|
|
|
|
+ //箭模型平时属于ArmBow层,因为ArmBow层在飞行镜头中不被渲染,所以箭出去后要切换layer
|
|
|
this.transform.Find("Head/_hunse_jian").gameObject.layer = 0;
|
|
this.transform.Find("Head/_hunse_jian").gameObject.layer = 0;
|
|
|
}
|
|
}
|
|
|
|
|
|