示例#1
0
                /// <summary>
                /// Updates all GUI elements from the offset.
                /// </summary>
                /// <param name="offset">Offset to update the GUI to.</param>
                public void Refresh(RectOffset offset)
                {
                    this.offset = offset;

                    offsetLeftField.Value = offset.left;
                    offsetRightField.Value = offset.right;
                    offsetTopField.Value = offset.top;
                    offsetBottomField.Value = offset.bottom;
                }
示例#2
0
 private static extern void Internal_SetContentOffset(IntPtr nativeInstance, ref RectOffset value);
示例#3
0
 private static extern void Internal_SetMargins(IntPtr nativeInstance, ref RectOffset value);
示例#4
0
 private static extern void Internal_SetBorder(IntPtr nativeInstance, ref RectOffset value);