Method Update
Update(Vector2, Vector2)
Update all fields while moving one extremity
Declaration
public void Update(Vector2 point1, Vector2 point2)
Parameters
Type | Name | Description |
---|---|---|
Vector2 | point1 | The new first extremity position |
Vector2 | point2 | The new second extremity position |
Update(Vector2, float, float)
Update all fields while moving the bar
Declaration
public void Update(Vector2 center, float length, float angle)
Parameters
Type | Name | Description |
---|---|---|
Vector2 | center | The new center position |
float | length | Tne new length of this gizmo |
float | angle | The new angle of this gizmo |