internal static void AddIgnoredObject(GameObject go) { if (!IgnoredGameObjects.Contains(go)) { IgnoredGameObjects.Add(go); } }
public static void Remove(IPartitionObject obj) { obj.CurrentPartitionTile?.Remove(obj); if (obj is GameObject go) { IgnoredGameObjects.Remove(go); largeObjectTile.Remove(obj); } }