10 [
Attribute(
desc:
"When enabled, the cursor will be hidden when rotation with modifier is disabled.")]
11 protected bool m_bCanHideCursor;
13 protected float m_Multiplier = 1;
16 protected void LoadSettings()
19 BaseContainerTools.WriteToInstance(settings,
GetGame().GetGameUserSettings().GetModule(
"SCR_ManualCameraSettings"));
21 m_Multiplier = settings.m_fCameraSpeedCoef;
22 if (m_Multiplier == 0)
25 if (settings.m_bCameraMoveATL)
29 if (settings.m_bCameraSpeedATL)
40 if (settings.m_bCameraRotateWithModifier)
45 if (settings.m_bCameraAboveTerrain)
54 param.multiplier *= m_Multiplier;
55 param.flag = param.flag | m_Flags;
63 override bool EOnCameraInit()
66 GetGame().OnUserSettingsChangedInvoker().Insert(LoadSettings);
71 override void EOnCameraExit()
73 GetGame().OnUserSettingsChangedInvoker().Remove(LoadSettings);