public ICellLayout Init(IInfoCenter ic, int id) { mInfoCenter = ic; mId = id; return(this); }
public ICellLayout Init(IInfoCenter ic, int id) { mInfoCenter = ic; mId = id; void OnClick() { mInfoCenter.InvokeEvent("cell touched", mId); } mButton.onClick.AddListener(OnClick); return(this); }