private void OnMessagesAdded() { if (this.messageFrames.Count > 500) { ITouchListItem item = this.messageFrames[0]; this.messageFrames.RemoveAt(0); UnityEngine.Object.Destroy(item.gameObject); } this.messageFrames.ScrollValue = 1f; }
public void SetParent(ITouchListItem parent) { this.m_parent = parent; }