5 protected VideoWidget m_Video;
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");
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())
82 override void OnVisibilityChanged(
bool isVisible)
107 text =
"ESC " +
"#menu_back";
111 text =
string.Format(
" %1",
InputUtils.GetRichtextButtonIconFromInputAction(
"UAUIBack",
"#menu_back", EUAINPUT_DEVICE_CONTROLLER,
InputUtils.ICON_SCALE_TOOLBAR));
114 toolbar_text.SetText(text);