From d2ab30e7a69bfe7efda63ae75812207377917bd3 Mon Sep 17 00:00:00 2001 From: miepzerino <o.skotnik@gmail.com> Date: Sun, 30 Mar 2025 18:50:27 +0000 Subject: [PATCH] Merge branch 'Flexalon-UI-Layouts' into develop --- Assets/Flexalon/Runtime/Cloner/FlexalonDataSource.cs | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/Assets/Flexalon/Runtime/Cloner/FlexalonDataSource.cs b/Assets/Flexalon/Runtime/Cloner/FlexalonDataSource.cs new file mode 100644 index 0000000..09bf1a7 --- /dev/null +++ b/Assets/Flexalon/Runtime/Cloner/FlexalonDataSource.cs @@ -0,0 +1,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; + } +} \ No newline at end of file -- Gitblit v1.9.3