protected void Update() { if (base.uiCamera != null) { Vector3 newPosition = UIAnchor.WorldOrigin(base.uiCamera, base.side, this.screenPixelBorder, base.depthOffset, this.relativeOffset.x, this.relativeOffset.y, base.halfPixelOffset); base.SetPosition(ref newPosition); } }
protected new void Update() { if (this.uiCamera) { Vector3 vector3 = UIAnchor.WorldOrigin(this.uiCamera, this.side, this.screenPixelBorder, this.depthOffset, this.relativeOffset.x, this.relativeOffset.y, this.halfPixelOffset); base.SetPosition(ref vector3); } }