Class Squares
Renders many squares on-screen meant for EQ display, using Unity UI.
Inheritance
UnityEngine.EventSystems.UIBehaviour
UnityEngine.UI.Graphic
UnityEngine.UI.MaskableGraphic
UnityEngine.UI.Image
Squares
Namespace: MouseDance.Demo
Assembly: MouseDance.Demo.dll
Syntax
public class Squares : Image, ICanvasElement, IClippable, IMaskable, IMaterialModifier, ISerializationCallbackReceiver, ILayoutElement, ICanvasRaycastFilter
Methods
Clear()
Declaration
public void Clear()
OnPopulateMesh(VertexHelper)
Declaration
protected override void OnPopulateMesh(VertexHelper vh)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.UI.VertexHelper | vh |
Overrides
UnityEngine.UI.Image.OnPopulateMesh(UnityEngine.UI.VertexHelper)
SetRows(Int32, Int32)
Declaration
public void SetRows(int columnIdx, int numberOfRows)
Parameters
Type | Name | Description |
---|---|---|
Int32 | columnIdx | |
Int32 | numberOfRows |
SetRowsNoDirty(Int32, Int32)
Declaration
public void SetRowsNoDirty(int columnIdx, int numberOfRows)
Parameters
Type | Name | Description |
---|---|---|
Int32 | columnIdx | |
Int32 | numberOfRows |
Start()
Declaration
protected override void Start()
Overrides
UnityEngine.EventSystems.UIBehaviour.Start()