Esempio n. 1
0
 internal static void AddIgnoredObject(GameObject go)
 {
     if (!IgnoredGameObjects.Contains(go))
     {
         IgnoredGameObjects.Add(go);
     }
 }
Esempio n. 2
0
        public static void Remove(IPartitionObject obj)
        {
            obj.CurrentPartitionTile?.Remove(obj);

            if (obj is GameObject go)
            {
                IgnoredGameObjects.Remove(go);
                largeObjectTile.Remove(obj);
            }
        }