namespace UIWidgets { using System; using UnityEngine; /// /// ScrollBlock item. /// public class ScrollBlockItem : MonoBehaviour, IMovableToCache { /// /// Index of the item. /// [NonSerialized] public int Index; /// /// Text adapter. /// [SerializeField] public TextAdapter Text; /// /// Owner. /// [NonSerialized] public ScrollBlockBase Owner; /// /// Called when data changed. /// public virtual void DataChanged() { } /// /// Process move to cache event. /// public virtual void MovedToCache() { } } }