9 layoutRoot =
GetGame().GetWorkspace().CreateWidgets(
"gui/layouts/xbox/video_menu.layout");
10 m_Video = VideoWidget.Cast(layoutRoot.FindAnyWidget(
"video"));
14 m_Video.Load(
"video\\DayZ_onboarding_MASTER.mp4");
18 m_Video.SetCallback(VideoCallback.ON_END, StopVideo);
31 GetGame().GetUIManager().ShowUICursor(
false);
32 GetGame().GetSoundScene().SetSoundVolume(0.0,0.0);
41 GetGame().GetUIManager().ShowUICursor(
true);
42 GetGame().GetSoundScene().SetSoundVolume(1.0,1.0);
55 GetGame().GetUIManager().Back();
63 if (m_Video.IsPlaying())
74 override void Update(
float timeslice)
76 if (
GetUApi().GetInputByID(UAUIBack).LocalPress())
107 text =
"ESC " +
"#menu_back";
114 toolbar_text.SetText(text);
void OnInputDeviceChanged(EInputDeviceType pInputDeviceType)
proto native CGame GetGame()