Merge branch 'master' of http://git.umayle.com:2023/yulong/NewN_UAVPlane
This commit is contained in:
commit
59f07e23a5
|
@ -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