void Capture() { if (this._ui != null) { CaptureCamera.Capture(this.container, this.texture); } }
void Capture() { CaptureCamera.Capture(this.container, _texture, Vector2.zero); if (_renderer != null) { _renderer.sortingOrder = container.renderingOrder; } }
void Capture() { Vector2 offset = new Vector2(_paintingMargin.left, _paintingMargin.top); CaptureCamera.Capture(this, (RenderTexture)paintingGraphics.texture.nativeTexture, offset); _paintingFlag = 2; //2表示已完成一次Capture if (onPaint != null) { onPaint(); } }