Addressables

        public static async Task GetAll(string label, IList loadedLocations)

        {

            var unloadedLocations = await Addressables.LoadResourceLocationsAsync(label).Task;

 

            foreach (var location in unloadedLocations)

            {

                loadedLocations.Add(location);

                Debug.Log(location.PrimaryKey);

            }

        }

你可能感兴趣的:(Addressables)