using EFT.UI; using UnityEngine; namespace CameraResolutionScale { public class DisableFOVScaling { public SelectSlider getFOVSelectSlider() { string rootObjectPath = "Common UI/Common UI/SettingsScreen"; GameObject rootObject = GameObject.Find(rootObjectPath); string fovObjectPath = "Game Settings/Image/Other Settings/FOV/FOV"; GameObject fovObject = rootObject.transform.Find(fovObjectPath).gameObject; return fovObject.GetComponent(); } } }