unity-atoms/Packages/MonoHooks/Runtime/Hooks/Collider2DHook.cs

22 lines
697 B
C#
Raw Normal View History

2020-03-01 15:32:52 -05:00
// using UnityEngine;
2019-10-15 19:43:51 -04:00
2020-03-01 15:32:52 -05:00
// namespace UnityAtoms.MonoHooks
// {
// /// <summary>
// /// Base class for all `MonoHook`s of type `Collider2D`.
// /// </summary>
// [EditorIcon("atom-icon-delicate")]
// public abstract class Collider2DHook : MonoHook<
// Collider2DEvent,
// Collider2DGameObjectEvent,
// Collider2D,
// Collider2DGameObject,
// GameObjectGameObjectFunction>
// {
// protected override void RaiseWithGameObject(Collider2D value, GameObject gameObject)
// {
// EventWithGameObjectReference.Raise(new Collider2DGameObject() { Collider2D = value; GameObject: gameObject });
// }
// }
// }