예제 #1
0
        public static void RegenerateAssetIndex()
        {
            var locator        = new AddressableRegisterLocator();
            var outputFileName = locator.FindOutputFile();

            var author = new AddressableRegisterTranscriber();

            author.WriteAddressableRegisterTo(outputFileName);

            Debug.Log("Updated assets registered in " + outputFileName);
        }
예제 #2
0
        private static void QueueReAuthor(object sender, FileSystemEventArgs e)
        {
            var addressableRegisterPath = Finder.FindOutputFile();

            ReAuthorActions.Enqueue(() => Author.WriteAddressableRegisterTo(addressableRegisterPath));
        }