UnityEditor.MaterialEditor.GetTexture C# (CSharp) Method

GetTexture() private method

private GetTexture ( string propertyName, bool &hasMixedValue ) : Texture
propertyName string
hasMixedValue bool
return UnityEngine.Texture
        public Texture GetTexture(string propertyName, out bool hasMixedValue)
        {
            hasMixedValue = false;
            Texture texture = ((Material) base.targets[0]).GetTexture(propertyName);
            for (int i = 1; i < base.targets.Length; i++)
            {
                if (((Material) base.targets[i]).GetTexture(propertyName) != texture)
                {
                    hasMixedValue = true;
                    return texture;
                }
            }
            return texture;
        }
MaterialEditor