mirror of
https://github.com/unity-atoms/unity-atoms.git
synced 2025-01-31 04:12:52 -05:00
17 lines
531 B
C#
17 lines
531 B
C#
|
using System.Collections.Generic;
|
||
|
using UnityEngine;
|
||
|
|
||
|
namespace UnityAtoms.BaseAtoms
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// Needed in order to create a property drawer for a List / Array. See this for more info: https://answers.unity.com/questions/605875/custompropertydrawer-for-array-types-in-43.html
|
||
|
/// </summary>
|
||
|
/// <typeparam name="T">Type used in list.</typeparam>
|
||
|
public abstract class AtomListWrapper<T>
|
||
|
{
|
||
|
public List<T> List { get => _list; }
|
||
|
|
||
|
[SerializeField]
|
||
|
private List<T> _list;
|
||
|
}
|
||
|
}
|