示例#1
0
 /// <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;
     }
 }
示例#2
0
 /// <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;
 }