ドキュメント

Unity Engine

Unity Engine

RectIntField

Makes an X, Y, W, and H field for entering a RectInt.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule

RectIntField(Rect, RectInt)

Makes an X, Y, W, and H field for entering a RectInt.
public static RectInt RectIntField(Rect position, RectInt value)

Parameters

position

Rectangle on the screen to use for the field.

value

The value to edit.

Returns

Type

Description

RectIntThe value entered by the user.

RectIntField(Rect, string, RectInt)

Makes an X, Y, W, and H field for entering a RectInt.
public static RectInt RectIntField(Rect position, string label, RectInt value)

Parameters

position

Rectangle on the screen to use for the field.

label

Optional label to display above the field.

value

The value to edit.

Returns

Type

Description

RectIntThe value entered by the user.

RectIntField(Rect, GUIContent, RectInt)

Makes an X, Y, W, and H field for entering a RectInt.
public static RectInt RectIntField(Rect position, GUIContent label, RectInt value)

Parameters

position

Rectangle on the screen to use for the field.

Optional label to display above the field.

value

The value to edit.

Returns

Type

Description

RectIntThe value entered by the user.