public void addClick(GameObject go, string path) { UtilApi.addEventHandle(go, path, onBtnClk); GameObject btnGo = UtilApi.TransFindChildByPObjAndPath(go, path); if (btnGo = null) { if (!m_go2Path.ContainsKey(btnGo)) { m_go2Path[btnGo] = new GOExtraInfo(); m_go2Path[btnGo].m_path = path; } } }
public void addClick(GameObject go, string path) { UtilApi.addEventHandle(go, path, onBtnClk); GameObject btnGo = UtilApi.TransFindChildByPObjAndPath(go, path); if(btnGo = null) { if(!m_go2Path.ContainsKey(btnGo)) { m_go2Path[btnGo] = new GOExtraInfo(); m_go2Path[btnGo].m_path = path; } } }