// Token: 0x060004BD RID: 1213 RVA: 0x00019A30 File Offset: 0x00017C30 public static Transform OverlapCheck(Transform containerTransform, Vector3 position, Vector3 containerSize) { List <BuildGridBackup.Point> list = BuildGridBackup.FillCubicVolume(containerTransform, position, containerSize); for (int i = 0; i < list.Count; i++) { if (BuildGridBackup.registeredPoints.ContainsKey(list[i])) { return(BuildGridBackup.registeredPoints[list[i]]); } } return(null); }
// Token: 0x060004BC RID: 1212 RVA: 0x000199E0 File Offset: 0x00017BE0 public static bool Remove(Transform containerTransform, Vector3 position, Vector3 containerSize) { List <BuildGridBackup.Point> list = BuildGridBackup.FillCubicVolume(containerTransform, position, containerSize); for (int i = 0; i < list.Count; i++) { if (BuildGridBackup.registeredPoints.ContainsKey(list[i])) { BuildGridBackup.registeredPoints.Remove(list[i]); } } return(true); }