Collider para física de 2D representando un conjunto arbitrario de bordes (lineas) conectadas definidas por sus vértices.
See Also: BoxCollider2D, CircleCollider2D, PolygonCollider2D.
| adjacentEndPoint | Defines the position of a virtual point adjacent to the end point of the EdgeCollider2D. |
| adjacentStartPoint | Defines the position of a virtual point adjacent to the start point of the EdgeCollider2D. |
| edgeCount | Obtiene la cantidad de bordes. |
| edgeRadius | Controls the radius of all edges created by the collider. |
| pointCount | Obtiene la cantidad de puntos. |
| points | Obtiene o establece los puntos definiendo múltiples bordes continuos. |
| useAdjacentEndPoint | Set this to true to use the adjacentEndPoint to form the collision normal that is used to calculate the collision response when a collision occurs at the Edge Collider's end point. Set this to false to not use the adjacentEndPoint, and the collision normal becomes the direction of motion of the collision. |
| useAdjacentStartPoint | Set this to true to use the adjacentStartPoint to form the collision normal that is used to calculate the collision response when a collision occurs at the Edge Collider's start point. Set this to false to not use the adjacentStartPoint, and the collision normal becomes the direction of motion of the collision. |
| GetPoints | Gets all the points that define a set of continuous edges. |
| Reset | Re-inicia a un solo borde consistiendo de dos puntos. |
| SetPoints | Sets all the points that define a set of continuous edges. |
| enabled | Enabled Behaviours are Updated, disabled Behaviours are not. |
| isActiveAndEnabled | Has the Behaviour had active and enabled called? |
| attachedRigidbody | The Rigidbody2D attached to the Collider2D. |
| bounciness | Get the bounciness used by the collider. |
| bounds | La área delimitadora en el espacio del mundo del collider. |
| composite | Get the CompositeCollider2D that is available to be attached to the collider. |
| density | La densidad del collider utilizado para calcular su masa (cuando la masa automática está habilitada). |
| friction | Get the friction used by the collider. |
| isTrigger | Este collider está configurado como trigger? |
| offset | La variación local de la geometría del collider. |
| shapeCount | La cantidad de regiones con formas separadas en el collider. |
| sharedMaterial | The PhysicsMaterial2D that is applied to this collider. |
| usedByComposite | Sets whether the Collider will be used or not used by a CompositeCollider2D. |
| usedByEffector | Si o no el collider es utilizado por un effector adjunto o no. |
| gameObject | El game object que tiene este componente adjunto. Un componente siempre está adjunto a un game object. |
| tag | El tag de este game object. |
| transform | The Transform attached to this GameObject. |
| Cast | Casts the Collider shape into the Scene starting at the Collider position ignoring the Collider itself. |
| ClosestPoint | Returns a point on the perimeter of this Collider that is closest to the specified position. |
| CreateMesh | Creates a planar Mesh that is identical to the area defined by the Collider2D geometry. |
| Distance | Calculates the minimum separation of this collider against another collider. |
| GetContacts | Retrieves all contact points for this Collider. |
| GetShapeHash | Generates a simple hash value based upon the geometry of the Collider2D. |
| IsTouching | Revisa si este collider está tocando el collider o no. |
| IsTouchingLayers | Revisa si este collider está tocando cualquiera de los colliders en una layerMask especificada o no. |
| OverlapCollider | Get a list of all colliders that overlap this collider. |
| OverlapPoint | Revisa si un collider se sobrepone en un punto en el espacio. |
| Raycast | Casts a ray into the Scene that starts at the Collider position and ignores the Collider itself. |
| BroadcastMessage | Llama al método denominado methodName de todos los MonoBehaviour en este game objecto en cualquiera de sus hijos. |
| CompareTag | ¿Este game object está etiquetado con tag? |
| GetComponent | Returns the component of Type type if the GameObject has one attached, null if it doesn't. Will also return disabled components. |
| GetComponentInChildren | Retorna el componente de tipo type en el GameObject o cualquiera de sus hijos utilizando depth first search (busqueda de profundidad). |
| GetComponentInParent | Retorna el componente de tipo type en el GameObject o cualquiera de sus padres. |
| GetComponents | Retorna todos los componentes de tipo type en el GameObject. |
| GetComponentsInChildren | Retorna todos los componentes de tipo type en el GameObject o cualquiera de sus hijo. |
| GetComponentsInParent | Retorna todos los componentes de tipo type en el GameObject o cualquiera de sus padres. |
| SendMessage | Llama al método denominado methodName en cada MonoBehaviour de este game object. |
| SendMessageUpwards | Llama al método denominado methodName en todos los MonoBehaviour de este juego y en todos los ancestros del behaviour. |
| TryGetComponent | Gets the component of the specified type, if it exists. |
| OnCollisionEnter2D | Se envia cuando un collider entrante entra en contacto con el collider de este objeto (física 2D solamente). |
| OnCollisionExit2D | Enviado cuando un collider en otro objeto para de tocar el collider de este objeto (física 2D solamente). |
| OnCollisionStay2D | Enviado cada frame donde un collider en otro objeto está tocando el collider de este objeto (física 2D solamente). |
| OnTriggerEnter2D | Enviado cuando otro objeto ingresa a un trigger collider adjunto a este objeto (física 2D solamente). |
| OnTriggerExit2D | Enviado cuando otro objeto deja un trigger collider adjunto a este objeto (física 2D solamente). |
| OnTriggerStay2D | Enviado cada frame donde otro objeto está dentro de un trigger collider adjunto a este objeto (física 2D solamente). |