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