UnityEditor.SpriteUtilityWindow.SetNewTexture C# (CSharp) Method

SetNewTexture() protected method

protected SetNewTexture ( Texture2D texture ) : void
texture UnityEngine.Texture2D
return void
        protected void SetNewTexture(Texture2D texture)
        {
            if (texture != this.m_Texture)
            {
                this.m_Texture = texture;
                this.m_Zoom = -1f;
            }
        }