//射擊完畢,放開滑鼠時 public void Fn_ShootKeyUp() { if (Input.GetKeyUp(keyCode_shoot)) { if (tmpFeature != null) { tmpFeature.Fn_GetThrow(); //獲得 - 物體拋擲方法 } UIController.Instance.Fn_SetImageFade(UIController.Instance.Img_ShootAnchor, 0f, 0.25f); //隱藏瞄準點 UIController.Instance.Fn_SetGroupFade(UIController.Instance.Group_InputTime, 0f, 0.25f); //控制 UI物件的alpha PlayerController.thePlayerData.Fn_SetValueTween(false); PlayerController.del_Execute -= Fn_ShootKeying; PlayerController.del_Execute -= Fn_ShootKeyUp; GameData.m_IsCompletedThrow = false; //射擊結束 } }