UnityEditor.SpriteUtilityWindow.SetNewTexture C# (CSharp) Méthode

SetNewTexture() protected méthode

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