public void OnSuggestZoneEnter(PhysicsGrid grid) { if (GetAuthorized() == false) { return; } if (grid == parentGrid) { return; } if (parentGrid != null && manager.IsChildOf(grid, parentGrid) == false) //if the grid we're entering is not a child of the current grid (overlapping collider issue) { Debug.Log("Invalid transition: " + grid.name + " not a child of " + parentGrid.name); return; } SetGrid(grid, false); grid.SendMessage("OnConfirmObjectEnter", this); }