Physics2D.OverlapCircle

Physics2D.OverlapCircle() is used to check if some objects are within the specified range. It returns bools value so that we can assign this value to the variable. First argument  sets the circle position, then it’s radius is specified. Finally we can check what objects are to be affected. We can make it by setting thoses …

Physics2D.OverlapCircle Read More ยป