|
override void | Update (float deltaTime) |
| Called every frame to update the component's state.
|
|
bool | CheckCollision (Vector2 point) |
|
override void | OnDrawGizmo () |
| Tells the renderer how to draw the object's editor gizmos.
|
|
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.
|
|
|
Vector2 | Size [get, set] |
|
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.
|
|
◆ CheckCollision()
bool WoopWoop.PointCollider.CheckCollision |
( |
Vector2 | point | ) |
|
◆ OnDrawGizmo()
override void WoopWoop.PointCollider.OnDrawGizmo |
( |
| ) |
|
|
virtual |
Tells the renderer how to draw the object's editor gizmos.
Reimplemented from WoopWoop.Component.
◆ RotateVector()
Vector2 WoopWoop.PointCollider.RotateVector |
( |
Vector2 | vector, |
|
|
float | angle ) |
|
private |
◆ SetSize()
Vector2 WoopWoop.PointCollider.SetSize |
( |
Vector2 | newSize | ) |
|
|
private |
◆ Update()
override void WoopWoop.PointCollider.Update |
( |
float | deltaTime | ) |
|
|
virtual |
Called every frame to update the component's state.
Reimplemented from WoopWoop.Component.
◆ size
Vector2 WoopWoop.PointCollider.size = new(1, 1) |
|
private |
◆ Size
Vector2 WoopWoop.PointCollider.Size |
|
getset |
The documentation for this class was generated from the following file: