Example #1
0
        private bool checkTargetValid(Vector3 point)
        {
            if (!Level.checkSafeIncludingClipVolumes(point))
            {
                return(false);
            }
            float height = LevelGround.getHeight(point);

            return(!WaterUtility.isPointUnderwater(new Vector3(point.x, height - 1f, point.z)));
        }