mirror of
https://github.com/unity-atoms/unity-atoms.git
synced 2025-01-31 04:12:52 -05:00
21a588b6a4
* Add OnCollisionHook and OnCollision2DHook * refactor hooks Naming shouldn't be trigger, get outa heeeeere! * Implement ValueEquals + simplify already implemented ValueEquals * Fix generator for Collisions + Add missing generated conditions + support OR:ed conditions in templates Co-authored-by: Adam Ramberg <adam@mambojambostudios.com>
16 lines
544 B
C#
16 lines
544 B
C#
#if UNITY_2019_1_OR_NEWER
|
|
using UnityEditor;
|
|
using UnityEngine.UIElements;
|
|
using UnityAtoms.Editor;
|
|
using UnityEngine;
|
|
|
|
namespace UnityAtoms.BaseAtoms.Editor
|
|
{
|
|
/// <summary>
|
|
/// Event property drawer of type `Collision2DPair`. Inherits from `AtomEventEditor<Collision2DPair, Collision2DPairEvent>`. Only availble in `UNITY_2019_1_OR_NEWER`.
|
|
/// </summary>
|
|
[CustomEditor(typeof(Collision2DPairEvent))]
|
|
public sealed class Collision2DPairEventEditor : AtomEventEditor<Collision2DPair, Collision2DPairEvent> { }
|
|
}
|
|
#endif
|