miepzerino
2025-04-02 5e14cc355fd3a4a27a0196f504fee16d68f39612
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
using System.Collections.Generic;
using System;
 
namespace Flexalon
{
    /// <summary> Provides data for a FlexalonCloner. </summary>
    public interface DataSource
    {
        /// <summary> For each element, FlexalonCloner will instantiate a new gameObject. </summary>
        IReadOnlyList<object> Data { get; }
 
        /// <summary> Invoke to notify FlexalonCloner that the data has changed. </summary>
        event Action DataChanged;
    }
}