Example #1
0
 public void pop(UILayer layer)
 {
     if(layer == null)
     {
         MDDebug.LogError("layer is null");
         return;
     }
     layerList.Remove(layer);
     layer.destroy();
 }