void Tick() { if (!InitFinished) { return; } TimerHeap.Tick(); FrameTimerHeap.Tick(); }
// Update is called once per frame void Update() { TimerHeap.Tick(); ClientService.GetSingleton().Update(); SceneMachine.GetSingleton().OnUpdate(); PlayerManager.GetSingleton().OnUpdate(); }
void Update() { TimerHeap.Tick(); FrameTimerHeap.Tick(); if (hasInitFinish) { MogoWorld.Process(); if (MogoWorld.thePlayer != null && MogoWorld.thePlayer.ViewTransform != null) { transform.localPosition = MogoWorld.thePlayer.ViewTransform.localPosition; } } }
protected override void OnResourceLoaded() { var parent = MogoWorld.m_uiManager.MogoTopUIPanel.FindChild("TopUI/Center");; SyncCreateUIInstanceWithRootTransform(Resources[0], parent); CurTimeTxt = FindTransform("CurTimeTxt").GetComponent <UILabel>(); PreTimeTxt = FindTransform("PreTimeTxt").GetComponent <UILabel>(); LoadingBg = FindTransform("LoadingBg").GetComponent <UISprite>(); CurTimeTxt.text = LanguageData.GetContent(189); timeId = TimerHeap.AddTimer(100, 100, ShowLoading); TimerHeap.Tick(); MogoUIBtn UIBtn = FindTransform("BtnCancel").GetComponent <MogoUIBtn>(); UIBtn.Text = LanguageData.GetContent(4); UIBtn.ClickAction = OnClickCancel; }
void Update() { TimerHeap.Tick(); }
void Tick() { TimerHeap.Tick(); FrameTimerHeap.Tick(); }
private void Tick() { TimerHeap.Tick(); }
public void Update() { NetTcpManager.Instance.Recv(); TimerHeap.Tick(); }