Пример #1
0
		public SlicedSprite Clone () {
			var result = new SlicedSprite(this.Material, this.Size);
			result._border = _border;
			result._origin = _origin;
			result._color = _color;
			result._tileX = _tileX;
			result._tileY = _tileY;
			result._hollow = _hollow;

			result._outerUV = _outerUV;
			result._innerUV = _innerUV;
			result._tileSize = _tileSize;

			return result;
		}
Пример #2
0
        public SlicedSprite Clone()
        {
            var result = new SlicedSprite(this.Material, this.Size);

            result._border = _border;
            result._origin = _origin;
            result._color  = _color;
            result._tileX  = _tileX;
            result._tileY  = _tileY;
            result._hollow = _hollow;

            result._outerUV  = _outerUV;
            result._innerUV  = _innerUV;
            result._tileSize = _tileSize;

            return(result);
        }