/// <summary> /// /// </summary> /// <param name="obj"></param> public static void UnregisterFromRTmeshObjectsList(RTmeshObject obj) { if (MeshObjectsList.Contains(obj)) { MeshObjectsList.Remove(obj); Debug.Log($"obj <{obj.name}> is removed from the RT object list."); DoesNeedToRebuildRTmeshObjects = true; } }
/// <summary> /// /// </summary> /// <param name="obj"></param> public static void RegisterToRTmeshObjectsList(RTmeshObject obj) { MeshObjectsList.Add(obj); Debug.Log($"obj <{obj.name}> is added into the RT object list."); DoesNeedToRebuildRTmeshObjects = true; }