3 protected SCR_PlayerDeployMenuHandlerComponent m_LocalMenuHandler;
4 protected bool m_bReady =
false;
7 protected override void OnInit()
9 SCR_RespawnSystemComponent rsc = SCR_RespawnSystemComponent.GetInstance();
11 !System.IsConsoleApp() &&
12 (rsc && rsc.CanOpenDeployMenu())
18 void Register(SCR_PlayerDeployMenuHandlerComponent handler)
21 m_LocalMenuHandler = handler;
26 void Unregister(SCR_PlayerDeployMenuHandlerComponent handler)
29 m_LocalMenuHandler =
null;
33 void SetReady(
bool ready)
39 protected override void OnUpdate(ESystemPoint point)
41 if (!m_LocalMenuHandler)
44 float dt = GetWorld().GetTimeSlice();
46 if (!m_LocalMenuHandler.UpdateLoadingPlaceholder(dt))
52 m_LocalMenuHandler.Update(dt);