UpdateCollider

UpdateCollider(Collider2D, GameObject, Vector2, bool, out bool)

public Collider2D UpdateCollider(Collider2D collider, GameObject colliderObject, Vector2 pos, bool isCellObject, out bool changed) ;

Description

To update the Collider

Parameters

Parameter Name Description
collider Current Collider
colliderObject GameObject to attach a Collider
pos Position
isCellObject Whether CellObject
changed Whether changed

Returns

Updated Collider