using System.Collections.Generic; using System; namespace Flexalon { /// Provides data for a FlexalonCloner. public interface DataSource { /// For each element, FlexalonCloner will instantiate a new gameObject. IReadOnlyList Data { get; } /// Invoke to notify FlexalonCloner that the data has changed. event Action DataChanged; } }