This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections.Generic; | |
using UnityEditor; | |
using UnityEditor.Callbacks; | |
using UnityEngine; | |
namespace Maz.Unity.EditorExtensions | |
{ | |
[InitializeOnLoad] | |
public class EditorModeOnly | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections.Generic; | |
using UnityEngine; | |
namespace Maz.Unity.Extensions | |
{ | |
public static class MazPhysics2D | |
{ | |
#region OverlapCircle | |
/* Usage for OverlapCircle<T>: | |
Example you threw a grenade and you want to find at the position monsters with Monster Component / MonoBehavoiur and also want to filter out dead monsters. |