public void LoadMatchInfo(string matchId, GK_TBM_Controller controller) { _matchId = matchId; _controller = controller; GameCenter_TBM.ActionMatchInfoLoaded += GameCenter_TBM_ActionMatchInfoLoaded; GameCenter_TBM.Instance.LoadMatch(_matchId); }
public static void Create(string matchId, GK_TBM_Controller controller) { GK_MatchUpdateTask task = new GameObject("GK_MatchUpdateTask").AddComponent <GK_MatchUpdateTask>(); task.LoadMatchInfo(matchId, controller); }