Abstract collider for 2D shapes.
More...
|
abstract Physics2D.Shape | CreateShape () |
| Creates the shape related to a concrete implementation of TSCollider.
|
|
void | Awake () |
| Creates a new TSRigidBody when there is no one attached to this GameObject.
|
|
void | Update () |
|
void | Initialize (Physics2D.World world) |
| Initializes Shape and RigidBody and sets initial values to position and orientation based on Unity's transform.
|
|
virtual void | OnDrawGizmos () |
| Do a base matrix transformation to draw correctly all collider gizmos.
|
|
|
abstract Vector3 | GetGizmosSize () |
| Returns the gizmos size.
|
|
abstract void | DrawGizmos () |
| Draws the specific gizmos of concrete collider (for example "Gizmos.DrawWireCube" for a TSBoxCollider).
|
|
Abstract collider for 2D shapes.
Definition at line 11 of file TSCollider2D.cs.
The documentation for this class was generated from the following file: