public static void ApplyOptionsOnStartUp() { OptionsPanel instance = FindObjectOfType <Canvas>() .GetComponentInChildren <OptionsPanel>( includeInactive: true); instance.LoadOrCreateOptions(); Options.instance.ApplyGraphicSettings(); instance.ApplyAudioOptions(); }