Beispiel #1
0
 public bool IsInFog(Vector3 pos)
 {
     return(FOW.GetFogValue(pos) > 0);
 }
Beispiel #2
0
 /// <summary>
 /// 是否在迷雾内
 /// </summary>
 /// <param name="pos"></param>
 /// <param name="minFog"></param>
 /// <returns></returns>
 public bool IsInFog(Vector3 pos, byte minFog)
 {
     return(FOW.GetFogValue(pos) > minFog);
 }