Skip to content

Instantly share code, notes, and snippets.

View Awais6's full-sized avatar
🏠
Working...

M Awais Awais6

🏠
Working...
View GitHub Profile
@Awais6
Awais6 / Drawer.cs
Created October 6, 2021 20:55 — forked from AngryAnt/Drawer.cs
Attempting to override the default UnityEvent drawer.
using UnityEngine;
using UnityEditor;
using UnityEditorInternal;
using UnityEngine.Events;
using System.Reflection;
namespace Test
{
[CustomPropertyDrawer (typeof (UnityEventBase), true)]