Class Collision2D
Assembly: UnityEngine.dll
Syntax
Properties
|
Improve this Doc
View Source
collider
Declaration
public Collider2D collider { get; }
Property Value
|
Improve this Doc
View Source
Declaration
public int contactCount { get; }
Property Value
|
Improve this Doc
View Source
Declaration
public ContactPoint2D[] contacts { get; }
Property Value
|
Improve this Doc
View Source
enabled
Declaration
public bool enabled { get; }
Property Value
|
Improve this Doc
View Source
gameObject
Declaration
public GameObject gameObject { get; }
Property Value
|
Improve this Doc
View Source
otherCollider
Declaration
public Collider2D otherCollider { get; }
Property Value
|
Improve this Doc
View Source
otherRigidbody
Declaration
public Rigidbody2D otherRigidbody { get; }
Property Value
|
Improve this Doc
View Source
relativeVelocity
Declaration
public Vector2 relativeVelocity { get; }
Property Value
|
Improve this Doc
View Source
rigidbody
Declaration
public Rigidbody2D rigidbody { get; }
Property Value
|
Improve this Doc
View Source
Declaration
public Transform transform { get; }
Property Value
Methods
|
Improve this Doc
View Source
Declaration
public ContactPoint2D GetContact(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Returns
|
Improve this Doc
View Source
Declaration
public int GetContacts(ContactPoint2D[] contacts)
Parameters
Returns
Extension Methods