Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_HideHUDManualCameraComponent.c
Go to the documentation of this file.
1 
4 [BaseContainerProps(), SCR_BaseManualCameraComponentTitle()]
6 {
7  [Attribute("", UIWidgets.Flags, enums: ParamEnumArray.FromEnum(EHudLayers))]
8  private EHudLayers m_LayersWhitelist;
9 
10  //------------------------------------------------------------------------------------------------
11  override bool EOnCameraInit()
12  {
13  SCR_HUDManagerComponent hudManager = GetGame().GetHUDManager();
14  if (!hudManager) return false;
15 
16  hudManager.SetVisibleLayers(m_LayersWhitelist);
17  return false;
18  }
19 
20  //------------------------------------------------------------------------------------------------
21  override void EOnCameraExit()
22  {
23  SCR_HUDManagerComponent hudManager = GetGame().GetHUDManager();
24  if (!hudManager) return;
25 
26  hudManager.SetVisibleLayers();
27  }
28 }
SCR_HUDManagerComponent
Definition: SCR_HUDManagerComponent.c:23
SCR_BaseManualCameraComponent
Parent class from which all SCR_ManualCamera components inherit.
Definition: SCR_BaseManualCameraComponent.c:5
GetGame
ArmaReforgerScripted GetGame()
Definition: game.c:1424
EHudLayers
EHudLayers
Definition: SCR_HUDManagerComponent.c:5
Attribute
typedef Attribute
Post-process effect of scripted camera.
SCR_HideHUDManualCameraComponent
Hide player HUD when the camera is active.
Definition: SCR_HideHUDManualCameraComponent.c:5
BaseContainerProps
SCR_AIGoalReaction_Follow BaseContainerProps
Handles insects that are supposed to be spawned around selected prefabs defined in prefab names array...
Definition: SCR_AIGoalReaction.c:468