private void Awake() { AspectRatioPrefabLoaderSettings aspectRatioPrefabLoaderSettings = PlatformUtils.FindAspectRatioSettings(runtimeSettings); if (aspectRatioPrefabLoaderSettings == null || aspectRatioPrefabLoaderSettings.ContentKeys == null) { return; } for (int i = 0; i < aspectRatioPrefabLoaderSettings.ContentKeys.Length; i++) { if (aspectRatioPrefabLoaderSettings.ContentKeys[i] != null && !string.IsNullOrEmpty(aspectRatioPrefabLoaderSettings.ContentKeys[i].Key)) { Content.LoadAsync(onPrefabLoaded, aspectRatioPrefabLoaderSettings.ContentKeys[i]); } } }
protected override TSettings getRuntimeSettings() { return(PlatformUtils.FindAspectRatioSettings(runtimeSettings)); }