示例#1
0
 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);
     }
 }
示例#2
0
 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);
     }
 }