protected virtual void UpdateTexture(NTexture value) { if (value == _texture) return; _requireUpdateMesh = true; _texture = value; if (_contentRect.width == 0) SetNativeSize(); graphics.texture = _texture; InvalidateBatchingState(); }