Question by
winxalex · Oct 01, 2017 at 11:33 AM ·
editorpropertydrawergenericsexpose
How to create Generics Property Type Property Drawer
ExposedReference is Generic type and PropertyDrawer is shown here and looks like that
using System;
using UnityEditor;
using UnityEngine;
[CustomPropertyDrawer(typeof(ExposedReference<>))]
internal class ExposedReferencePropertyDrawer : BaseExposedPropertyDrawer
{
I tried to do, almost the same Drawer and GenericType, but Drawer isn't called at all. Could someone from Unity give light how their Generic Types Drawers work and our don't.
Comment