public static void SymbolLinkResource() { // Auto Link resources when play! if (!Directory.Exists(ResourcesSymbolLinkHelper.GetLinkPath())) { Log.Warning("Auto Link Bundle Resources Path... {0}", ResourcesSymbolLinkHelper.GetLinkPath()); ResourcesSymbolLinkHelper.SymbolLinkResource(); } }
private static void OnBeforeBuildPlayerEvent() { // Auto Link resources when play! if (!Directory.Exists(ResourcesSymbolLinkHelper.GetLinkPath())) { Log.Warning("Auto Link Bundle Resources Path... {0}", ResourcesSymbolLinkHelper.GetLinkPath()); ResourcesSymbolLinkHelper.SymbolLinkResource(); } }
private static void OnBeforeBuildPlayerEvent() { // Auto Link resources when play! //NOTE 打包ab时不link资源,在Editor可以从磁盘中直接读取 //if (!Directory.Exists(ResourcesSymbolLinkHelper.GetABLinkPath())) { Log.Info("Auto Link Bundle Resources Path... {0}", ResourcesSymbolLinkHelper.GetABLinkPath()); ResourcesSymbolLinkHelper.SymbolLinkResource(); } }