Class UIImageTextCell
This is the same as UIImageCell, except that it supports a text component as well.
This class is also suitable to use with Unity's Buttons (since they are rendered with Image and Text components).
In addition to the Image component that is expected down the hierarchy, this component also expects a Text component down the hierarchy (on this object or a child).
[Version(1, 10, 0)]
public class UIImageTextCell : UIImageCell, IColorableCell, ICell
- Inheritance
-
UIImageTextCell
- Implements
- Derived
- Inherited Members
-
MonoBehaviour.IsInvoking()MonoBehaviour.StopCoroutine(Coroutine)MonoBehaviour.StopAllCoroutines()MonoBehaviour.runInEditModeComponent.GetComponent<T>()Component.GetComponentInChildren<T>()Component.GetComponentsInChildren<T>()Component.GetComponentsInParent<T>()Component.transformComponent.gameObjectComponent.tagObject.Instantiate(Object, Vector3, Quaternion)Object.Instantiate(Object)Object.Instantiate(Object, Transform)Object.Instantiate<T>(T, Vector3, Quaternion, Transform)Object.Instantiate<T>(T, Transform)Object.Destroy(Object)Object.DestroyImmediate(Object)Object.DestroyObject(Object)Object.FindObjectsOfType<T>()Object.nameObject.hideFlags
- Extension Methods
Properties
Text
public string Text { get; set; }
Property Value
TextColor
[Version(1, 10, 1)]
public Color TextColor { get; set; }