removed a ton of xml comments and such
This commit is contained in:
@@ -6,16 +6,7 @@ using UnityEditor;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Jovian.EncounterSystem.Editor {
|
||||
/// <summary>
|
||||
/// Custom drawer for any field marked <c>[SerializeReference, SubclassSelector]</c>. Renders a
|
||||
/// "pick a concrete type" dropdown populated by reflection over the declared base type, then
|
||||
/// draws the chosen instance's serialized children underneath. Works for single fields, arrays,
|
||||
/// and <see cref="List{T}"/> elements.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// The type cache is a <c>static readonly</c> dictionary; it is implicitly cleared on domain
|
||||
/// reload because the static field is recreated with the new assembly image.
|
||||
/// </remarks>
|
||||
/// <summary>Concrete-type dropdown for <c>[SerializeReference]</c> fields, arrays, and list elements.</summary>
|
||||
[CustomPropertyDrawer(typeof(SubclassSelectorAttribute))]
|
||||
public class SubclassSelectorDrawer : PropertyDrawer {
|
||||
private static readonly Dictionary<Type, Type[]> TypeCache = new();
|
||||
|
||||
Reference in New Issue
Block a user