Sprite.setTexutre C# (CSharp) Метод

setTexutre() публичный Метод

public setTexutre ( Texture texture, float textureWidth, float textureHeight ) : void
texture Texture
textureWidth float
textureHeight float
Результат void
    public void setTexutre(Texture texture, float textureWidth,float textureHeight)
    {
        _texture	= texture;
        _textureSelfRect.width = textureWidth;
        _textureSelfRect.height= textureHeight;
        updateParentBoundRect();
    }