using UnityEngine; using System.Collections; namespace LMWidgets { public interface IDataBoundWidget where WidgetType : IDataBoundWidget{ // Stop listening to any previous data binder and start listening to the new one. void RegisterDataBinder (DataBinder dataBinder); // Stop listening to any previous data binder. void UnregisterDataBinder (); void SetWidgetValue(PayloadType value); } }