eww
This commit is contained in:
parent
b2ca4b4d3d
commit
53b2e38ff5
|
|
@ -1 +1 @@
|
||||||
127.0.0.1:48888
|
192.168.97.15:48888
|
||||||
|
|
@ -1 +1 @@
|
||||||
127.0.0.1
|
192.168.97.15
|
||||||
|
|
@ -173,7 +173,10 @@ public class HighPriorityTarget : MonoBehaviour
|
||||||
{
|
{
|
||||||
if (Camera.main)
|
if (Camera.main)
|
||||||
KeyObjectiveUI.transform.LookAt(Camera.main.transform);
|
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);
|
Ray ray = Camera.main.ScreenPointToRay(Input.mousePosition);
|
||||||
RaycastHit hit;
|
RaycastHit hit;
|
||||||
|
|
@ -192,6 +195,7 @@ public class HighPriorityTarget : MonoBehaviour
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 被攻击
|
/// 被攻击
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue