Class UIDocumentView
Inheritance
Object
Component
Behaviour
MonoBehaviour
UIDocumentView
Inherited Members
MonoBehaviour.IsInvoking()
MonoBehaviour.CancelInvoke()
MonoBehaviour.StopCoroutine(Coroutine)
MonoBehaviour.StopAllCoroutines()
MonoBehaviour.destroyCancellationToken
MonoBehaviour.useGUILayout
MonoBehaviour.didStart
MonoBehaviour.didAwake
MonoBehaviour.runInEditMode
Behaviour.enabled
Behaviour.isActiveAndEnabled
Component.GetComponent<T>()
Component.TryGetComponent<T>(out T)
Component.GetComponentInChildren<T>()
Component.GetComponentsInChildren<T>()
Component.GetComponentInParent<T>()
Component.GetComponentsInParent<T>()
Component.GetComponents<T>()
Component.GetComponentIndex()
Component.CompareTag(TagHandle)
Component.transform
Component.gameObject
Component.tag
Object.GetInstanceID()
Object.GetHashCode()
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
Object.Instantiate(Object, Vector3, Quaternion)
Object.Instantiate(Object, Vector3, Quaternion, Transform)
Object.Instantiate(Object)
Object.Instantiate(Object, Scene)
Object.Instantiate<T>(T, InstantiateParameters)
Object.Instantiate<T>(T, Vector3, Quaternion, InstantiateParameters)
Object.Instantiate(Object, Transform)
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.Destroy(Object)
Object.DestroyImmediate(Object)
Object.DontDestroyOnLoad(Object)
Object.DestroyObject(Object)
Object.FindObjectsOfType<T>()
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindObjectOfType<T>()
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Object.ToString()
Object.name
Object.hideFlags
Namespace: Fwt.Core.UI.Screens
Assembly: fwt.core.ecs.dll
Syntax
public class UIDocumentView : UIView
Fields
UIDocument
Declaration
public UIDocument UIDocument
Field Value
| Type | Description |
|---|---|
| UIDocument |
Methods
AssignButtonClickEvent(VisualElement, string, Action)
Declaration
protected virtual void AssignButtonClickEvent(VisualElement rootElement, string buttonId, Action onButtonClick)
Parameters
| Type | Name | Description |
|---|---|---|
| VisualElement | rootElement | |
| string | buttonId | |
| Action | onButtonClick |
DisposeUI()
Declaration
protected virtual void DisposeUI()
FindUIDocument()
Declaration
protected virtual void FindUIDocument()
InitFloatField(VisualElement, string, EventCallback<ChangeEvent<float>>, float)
Declaration
protected virtual FloatField InitFloatField(VisualElement rootElement, string fieldId, EventCallback<ChangeEvent<float>> onValueChanged, float defaultValue)
Parameters
| Type | Name | Description |
|---|---|---|
| VisualElement | rootElement | |
| string | fieldId | |
| EventCallback<ChangeEvent<float>> | onValueChanged | |
| float | defaultValue |
Returns
| Type | Description |
|---|---|
| FloatField |
InitIntegerField(VisualElement, string, EventCallback<ChangeEvent<int>>, int)
Declaration
protected virtual IntegerField InitIntegerField(VisualElement rootElement, string fieldId, EventCallback<ChangeEvent<int>> onValueChanged, int defaultValue)
Parameters
| Type | Name | Description |
|---|---|---|
| VisualElement | rootElement | |
| string | fieldId | |
| EventCallback<ChangeEvent<int>> | onValueChanged | |
| int | defaultValue |
Returns
| Type | Description |
|---|---|
| IntegerField |
InitSlider(VisualElement, string, EventCallback<ChangeEvent<int>>, int)
Declaration
protected virtual SliderInt InitSlider(VisualElement rootElement, string sliderId, EventCallback<ChangeEvent<int>> onValueChanged, int defaultValue)
Parameters
| Type | Name | Description |
|---|---|---|
| VisualElement | rootElement | |
| string | sliderId | |
| EventCallback<ChangeEvent<int>> | onValueChanged | |
| int | defaultValue |
Returns
| Type | Description |
|---|---|
| SliderInt |
InitSlider(VisualElement, string, EventCallback<ChangeEvent<float>>, int)
Declaration
protected virtual Slider InitSlider(VisualElement rootElement, string sliderId, EventCallback<ChangeEvent<float>> onValueChanged, int defaultValue)
Parameters
| Type | Name | Description |
|---|---|---|
| VisualElement | rootElement | |
| string | sliderId | |
| EventCallback<ChangeEvent<float>> | onValueChanged | |
| int | defaultValue |
Returns
| Type | Description |
|---|---|
| Slider |
InitTextField(VisualElement, string, EventCallback<ChangeEvent<string>>, string)
Declaration
protected virtual TextField InitTextField(VisualElement rootElement, string fieldId, EventCallback<ChangeEvent<string>> onValueChanged, string defaultValue)
Parameters
| Type | Name | Description |
|---|---|---|
| VisualElement | rootElement | |
| string | fieldId | |
| EventCallback<ChangeEvent<string>> | onValueChanged | |
| string | defaultValue |
Returns
| Type | Description |
|---|---|
| TextField |
InitUI()
Declaration
protected virtual void InitUI()
InitVector2Field(VisualElement, string, EventCallback<ChangeEvent<Vector2>>, Vector2)
Declaration
protected virtual Vector2Field InitVector2Field(VisualElement rootElement, string fieldId, EventCallback<ChangeEvent<Vector2>> onValueChanged, Vector2 defaultValue)
Parameters
| Type | Name | Description |
|---|---|---|
| VisualElement | rootElement | |
| string | fieldId | |
| EventCallback<ChangeEvent<Vector2>> | onValueChanged | |
| Vector2 | defaultValue |
Returns
| Type | Description |
|---|---|
| Vector2Field |
InitVector2IntField(VisualElement, string, EventCallback<ChangeEvent<Vector2Int>>, Vector2Int)
Declaration
protected virtual Vector2IntField InitVector2IntField(VisualElement rootElement, string fieldId, EventCallback<ChangeEvent<Vector2Int>> onValueChanged, Vector2Int defaultValue)
Parameters
| Type | Name | Description |
|---|---|---|
| VisualElement | rootElement | |
| string | fieldId | |
| EventCallback<ChangeEvent<Vector2Int>> | onValueChanged | |
| Vector2Int | defaultValue |
Returns
| Type | Description |
|---|---|
| Vector2IntField |
OnDisable()
Declaration
protected override void OnDisable()
Overrides
OnEnable()
Declaration
protected override void OnEnable()
Overrides
OnValidate()
Declaration
protected override void OnValidate()
Overrides
Start()
Declaration
protected override void Start()
Overrides
TryGetRootElement(out VisualElement)
Declaration
protected bool TryGetRootElement(out VisualElement rootElement)
Parameters
| Type | Name | Description |
|---|---|---|
| VisualElement | rootElement |
Returns
| Type | Description |
|---|---|
| bool |