public override void OnRegister() { base.OnRegister(); leaderBoardProxy = Facade.RetrieveProxy(LeaderBoardProxy.NAME) as LeaderBoardProxy; if (null == leaderBoardProxy) { throw new Exception("[LeaderBoardMediator][OnRegister] " + LeaderBoardProxy.NAME + "is null!"); } UpdateUI(); }
public override void OnRegister() { base.OnRegister(); leaderBoardProxy = Facade.RetrieveProxy(LeaderBoardProxy.NAME) as LeaderBoardProxy; if (null == leaderBoardProxy) { throw new Exception("[HighScorePopupMediator][OnRegister] " + LeaderBoardProxy.NAME + "is null!"); } gameProxy = Facade.RetrieveProxy(GameProxy.NAME) as GameProxy; if (null == gameProxy) { throw new Exception("[HighScorePopupMediator][OnRegister] " + GameProxy.NAME + "is null!"); } }