This commit is contained in:
YangHua 2024-01-28 16:57:32 +08:00
parent b2ca4b4d3d
commit 53b2e38ff5
3 changed files with 22 additions and 18 deletions

View File

@ -1 +1 @@
127.0.0.1:48888
192.168.97.15:48888

View File

@ -1 +1 @@
127.0.0.1
192.168.97.15

View File

@ -173,7 +173,10 @@ public class HighPriorityTarget : MonoBehaviour
{
if (Camera.main)
KeyObjectiveUI.transform.LookAt(Camera.main.transform);
if (UIBootstrap.Instance.GetRoleByIDPracticeId(GlobalFlag.practiceSeatId) != "0"&&Input.GetMouseButtonDown(0))
if (GlobalFlag.blueOrRed == 1)
{
if (Input.GetMouseButtonDown(0))
{
Ray ray = Camera.main.ScreenPointToRay(Input.mousePosition);
RaycastHit hit;
@ -192,6 +195,7 @@ public class HighPriorityTarget : MonoBehaviour
}
}
}
}
/// <summary>
/// 被攻击