Adam Ramberg e6ac211e70 WIP
2020-03-12 01:30:25 +01:00

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;
}
}