14 lines
524 B
C#
14 lines
524 B
C#
using System;
|
|
using UnityEngine;
|
|
|
|
namespace Jovian.EncounterSystem {
|
|
/// <summary>
|
|
/// Marker attribute instructing the editor to render a concrete-type picker for a
|
|
/// <c>[SerializeReference]</c> field (or list/array element). The drawer scans the declared
|
|
/// base type's assembly for non-abstract implementations and offers them in a dropdown.
|
|
/// </summary>
|
|
[AttributeUsage(AttributeTargets.Field, AllowMultiple = false)]
|
|
public class SubclassSelectorAttribute : PropertyAttribute {
|
|
}
|
|
}
|