WoopWoop-Docs
Loading...
Searching...
No Matches
Public Member Functions | Properties | List of all members
WoopWoop.UI.VerticalGrid Class Reference

Represents a component that arranges child entities in a vertical grid layout. More...

Inheritance diagram for WoopWoop.UI.VerticalGrid:
WoopWoop.Component

Public Member Functions

override void Update (float deltaTime)
 Updates the component's state.
 
- Public Member Functions inherited from WoopWoop.Component
void Attach (Entity entity)
 Attaches the component to an entity.
 
virtual void Awake ()
 Awake is called when the component is initialized, regardless of whether or not the script is enabled.
 
virtual void Start ()
 Called when the component is started if it's enabled.
 
virtual void OnEndOfFrame ()
 Called on the end of every frame.
 
virtual void Stop ()
 Called when the component is removed.
 
virtual void OnDrawGizmo ()
 Tells the renderer how to draw the object's editor gizmos.
 

Properties

float Spacing = 10 [get, set]
 The spacing between each child entity in the grid.
 
float SpacingTop = 5 [get, set]
 The additional spacing applied to the top of the grid.
 
- Properties inherited from WoopWoop.Component
Entity entity [get, private set]
 The entity to which this component is attached.
 
Transform transform [get]
 The transform of the entity to which this component is attached.
 
bool Enabled = true [get, set]
 Determines whether the component is enabled.
 

Detailed Description

Represents a component that arranges child entities in a vertical grid layout.

Member Function Documentation

◆ Update()

override void WoopWoop.UI.VerticalGrid.Update ( float deltaTime)
virtual

Updates the component's state.

Parameters
deltaTimeThe time passed since the last frame.

Reimplemented from WoopWoop.Component.

Property Documentation

◆ Spacing

float WoopWoop.UI.VerticalGrid.Spacing = 10
getset

The spacing between each child entity in the grid.

◆ SpacingTop

float WoopWoop.UI.VerticalGrid.SpacingTop = 5
getset

The additional spacing applied to the top of the grid.


The documentation for this class was generated from the following file: