Родительский класс для коллайдеров используемых в 2D геймплее.
See Also: BoxCollider2D, CircleCollider2D, PolygonCollider2D, EdgeCollider2D.
| attachedRigidbody | Rigidbody2D присоединенный к GameObject-у на котором добавлен данный компонент Collider2D. | 
| bounciness | Get the bounciness used by the collider. | 
| bounds | Ограничивающая зона действия коллайдера в мировых координатах. | 
| density | The density of the collider used to calculate its mass (when auto mass is enabled). | 
| friction | Get the friction used by the collider. | 
| isTrigger | Является ли этот коллайдер триггером? | 
| offset | The local offset of the collider geometry. | 
| shapeCount | Количество отдельных фигурных областей в коллайдере. | 
| sharedMaterial | The PhysicsMaterial2D that is applied to this collider. | 
| usedByEffector | Whether the collider is used by an attached effector or not. | 
| Cast | Casts the collider shape into the scene starting at the collider position ignoring the collider itself. | 
| IsTouching | Check whether this collider is touching the collider or not. | 
| IsTouchingLayers | Checks whether this collider is touching any colliders on the specified layerMask or not. | 
| OverlapPoint | Проверяет, пересекается ли коллайдер с точкой в пространстве. | 
| Raycast | Casts a ray into the scene starting at the collider position ignoring the collider itself. | 
| OnCollisionEnter2D | Передается когда входящий коллайдер контактирует с коллайдером данного объекта (только 2D физика). | 
| OnCollisionExit2D | Передается, когда коллайдер другого объекта перестает соприкасаться с коллайдером этого объекта (только 2D физика). | 
| OnCollisionStay2D | Передается каждый кадр, пока коллайдер другого объекта контактирует с коллайдером данного объекта (только 2D физика). | 
| OnTriggerEnter2D | Передается, когда другой обьект входит в триггер присоединенный к данному обьекту (только 2D физика). | 
| OnTriggerExit2D | Передается когда другой объект покидает триггер, присоединенный к данному объекту(только 2D физика). | 
| OnTriggerStay2D | Передается каждый кадр, пока другой объект находится в триггере, присоединенном к этому объекту (только 2D физика). | 
| enabled | Включенное Поведение обновляется, выключенное Поведение не обновляется. | 
| isActiveAndEnabled | Has the Behaviour had enabled called. | 
| gameObject | Игровой объект к которому прикреплён данный компонент. Компонент всегда прикреплён к игровому объекту. | 
| tag | Тег данного игрового объекта. | 
| transform | The Transform attached to this GameObject. | 
| hideFlags | Should the object be hidden, saved with the scene or modifiable by the user? | 
| name | The name of the object. | 
| BroadcastMessage | Вызывает метод названный methodName на каждом MonoBehaviour этого game object-а или любого из его потомков. | 
| CompareTag | Помечен ли данный игровой объект тегом tag? | 
| GetComponent | Возвращает компонент типа type, если он прикреплен к игровому объекту и null, если не прикреплен. | 
| GetComponentInChildren | Возвращает компонент типа type в GameObject или некоторого его потомка через поиск в глубину. | 
| GetComponentInParent | Возвращает все компоненты типа type из GameObject'а или из любого его родителя. | 
| GetComponents | Возвращает все компоненты типа type в GameObject. | 
| GetComponentsInChildren | Возвращает все компоненты типа type в GameObject или любому из его потомков. | 
| GetComponentsInParent | Возвращает все компоненты типа type в GameObject или любому из его родителей. | 
| SendMessage | Вызывает метод с названием methodName в каждом MonoBehaviour в этом игровом объекте. | 
| SendMessageUpwards | Вызывает метод с именем methodName в каждом MonoBehaviour в этом игровом объекте и в каждом предке поведения. | 
| GetInstanceID | Returns the instance id of the object. | 
| ToString | Returns the name of the game object. | 
| Destroy | Удаляет GameObject, Component или Asset. | 
| DestroyImmediate | Destroys the object obj immediately. | 
| DontDestroyOnLoad | Makes the object target not be destroyed automatically when loading a new scene. | 
| FindObjectOfType | Returns the first active loaded object of Type type. | 
| FindObjectsOfType | Returns a list of all active loaded objects of Type type. | 
| Instantiate | Clones the object original and returns the clone. | 
| bool | Does the object exist? | 
| operator != | Compares if two objects refer to a different object. | 
| operator == | Compares two object references to see if they refer to the same object. |