/// <summary>
 /// Loads this instance with the desired layers
 /// </summary>
 /// <param name="layers"></param>
 public FlatGenerator(DefaultLayers layers)
 {
     _layers = layers;
 }
Example #2
0
 public void Instatiate(GameObject gameObject, DefaultLayers layerName)
 {
     Instatiate(gameObject, layerName.ToString());
 }
Example #3
0
 internal void Add(DefaultLayers layerName, GameObject gameObject)
 {
     Add(layerName.ToString(), gameObject);
 }
Example #4
0
 public void SetZIndex(DefaultLayers layerName, int zIndex)
 {
     SetZIndex(layerName.ToString(), zIndex);
 }
Example #5
0
 public ILayerSettings GetLayer(DefaultLayers layerName)
 {
     return(GetLayer(layerName.ToString()));
 }
Example #6
0
 private Layer CreateLayer(DefaultLayers layerName, int zIndex)
 {
     return(CreateLayer(layerName.ToString(), zIndex));
 }