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

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

public Sprite ( Texture texture ) : System.Collections
texture Texture
Результат System.Collections
    public Sprite(Texture texture)
    {
        _texture	= texture;
        _originalWidth	= _texture.width;
        _originalHeight	= _texture.height;
        _width			= _texture.width;
        _height			= _texture.height;
        _textureSelfRect.width = _texture.width;
        _textureSelfRect.height= _texture.height;
    }

Same methods

Sprite::Sprite ( ) : System.Collections
Sprite::Sprite ( Texture texture, float textureWidth, float textureHeight ) : System.Collections