Esempio n. 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;
                }
Esempio n. 2
0
 private static extern void Internal_SetContentOffset(IntPtr nativeInstance, ref RectOffset value);
Esempio n. 3
0
 private static extern void Internal_SetMargins(IntPtr nativeInstance, ref RectOffset value);
Esempio n. 4
0
 private static extern void Internal_SetBorder(IntPtr nativeInstance, ref RectOffset value);