benblo / mentoring-unity-polymorphism

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Polymorphic drawer demo in Unity

Demo of a custom PropertyDrawer: add [Polymorphic] this to a [SerializeReference] field to get a popup in the inspector to allocate an object of the desired type.

Made for a mentoring class.

About


Languages

Language:C# 100.0%