GoView.GetLayerMaterial C# (CSharp) Method

GetLayerMaterial() public method

public GetLayerMaterial ( string name ) : Material
name string
return Material
    public Material GetLayerMaterial(string name)
    {
        if (Layers.ContainsKey(name))
            return Layers[name].LayerMaterial;
        else
        {
            Debug.LogError("GetLayerMaterial_No Layer_" + name);
            return null;
        }
    }