public void RemoveObjectsFromLayer(List <GameObject> gameObjects, int objectLayer)
        {
            if (objectLayer == LayerExtensions.GetDefaultLayer())
            {
                return;
            }

            List <GameObject> gameObjectsInLayer = gameObjects.FindAll(item => item.layer == objectLayer);

            GameObjectExtensions.AssignGameObjectsToLayer(gameObjectsInLayer, LayerExtensions.GetDefaultLayer(), true);
        }
 public void AssignObjectsToLayer(List <GameObject> gameObjects, int objectLayer)
 {
     GameObjectExtensions.AssignGameObjectsToLayer(gameObjects, objectLayer, true);
 }