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();
    }