Game.UI.Widgets.Int3InputField
Assembly:
Assembly-CSharp (likely — game/mod assembly containing UI widgets)
Namespace:
Game.UI.Widgets
Type:
class
Base:
IntField
Summary:
A concrete UI input field class specialized for Unity.Mathematics.int3 values. This class simply specifies the generic IntField
Fields
None
This class does not declare any fields. All state is inherited from IntField(and ultimately from its base classes).
Properties
None declared
No new public or private properties are declared in this class. Use the properties exposed by IntField(for example value/valueChanged APIs provided by the base).
Constructors
public Int3InputField()
No explicit constructor is defined in the source. The compiler-provided default constructor is used; any required initialization should come from the base class (or by overriding lifecycle methods if the base exposes them).
Methods
None declared/overridden
This class does not declare or override any methods. All behavior is inherited from IntField. To customize behavior, override or extend the members provided by the base class.
Usage Example
using Unity.Mathematics;
using Game.UI.Widgets;
// Instantiate the field (typical usage depends on the UI framework integration)
var int3Field = new Int3InputField();
// Set initial value — actual property name depends on IntField<T> API (common names: Value or value)
int3 initial = new int3(1, 2, 3);
int3Field.value = initial; // or int3Field.Value = initial;
// Subscribe to changes — event/property names depend on the base implementation
// Example (pseudocode; adapt to the actual IntField<T> API):
int3Field.onValueChanged += (int3 newValue) =>
{
// handle updated value
UnityEngine.Debug.Log($"New int3 value: {newValue}");
};
Notes:
- Because Int3InputField contains no additional logic, refer to the IntField