-
-
Notifications
You must be signed in to change notification settings - Fork 20
Closed
Labels
Description
I have a list of SerializableInterface<>.
Editing the value of one element in the list changes the value of all elements with the same type in that list.
public class CombineStringsValue : MonoBehaviour, IProvideValue<string>
{
[SerializeField] private List<SerializableInterface<IProvideValue<string>>> m_Providers;
public string Value => m_Providers.Aggregate("", (current, provider) => current + provider.Value.Value);
}marc-antoine-girard
