Exemple #1
0
 // Token: 0x06000A43 RID: 2627 RVA: 0x000514F0 File Offset: 0x0004F8F0
 public static bool isPointInsideVolume(Vector3 point, out PlayerClipVolume volume)
 {
     for (int i = 0; i < PlayerClipVolumeSystem.volumes.Count; i++)
     {
         volume = (PlayerClipVolumeSystem.volumes[i] as PlayerClipVolume);
         if (!(volume == null))
         {
             if (PlayerClipVolumeUtility.isPointInsideVolume(volume, point))
             {
                 return(true);
             }
         }
     }
     volume = null;
     return(false);
 }
Exemple #2
0
        // Token: 0x06000A42 RID: 2626 RVA: 0x000514D8 File Offset: 0x0004F8D8
        public static bool isPointInsideVolume(Vector3 point)
        {
            PlayerClipVolume playerClipVolume;

            return(PlayerClipVolumeUtility.isPointInsideVolume(point, out playerClipVolume));
        }