Exemplo n.º 1
0
        static bool Prefix(BatchOctreesStreamer __instance, Int3 batchId, ref string __result)
        {
            var tmpPath = __instance.GetTmpPath(batchId);

            if (File.Exists(tmpPath))
            {
                Logger.Info($"{tmpPath} exists");
                __result = tmpPath;

                return(false);
            }

            return(true);
        }