Class Collider2DExtensions
Inheritance
System.Object
Collider2DExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: GameKit.Dependencies.Utilities
Assembly: GameKit.Dependencies.dll
Syntax
public static class Collider2DExtensions
Methods
GetBox2DOverlapParams(BoxCollider2D, out Vector3, out Vector3)
Declaration
public static void GetBox2DOverlapParams(this BoxCollider2D boxCollider, out Vector3 center, out Vector3 halfExtents)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.BoxCollider2D | boxCollider | |
UnityEngine.Vector3 | center | |
UnityEngine.Vector3 | halfExtents |
GetCircleOverlapParams(CircleCollider2D, out Vector3, out Single)
Declaration
public static void GetCircleOverlapParams(this CircleCollider2D circleCollider, out Vector3 center, out float radius)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.CircleCollider2D | circleCollider | |
UnityEngine.Vector3 | center | |
System.Single | radius |