public override GameObject InstantiateCell() { PrivateChatItem item = base.InstantiateCell().AddComponent <PrivateChatItem>(); if (OnCreateItemHandler != null) { OnCreateItemHandler(item); } return(item.gameObject); }
private void OnCreatePrivateChatItem(PrivateChatItem item) { item.onClickItemHandle = OpenPlayerInfoPanel; }