Esempio n. 1
0
        public static void DumpZoneArea()
        {
            var builder = new AssetBundleBuilder();

            builder.environment = ContentServerUtils.ApiEnvironment.ORG;
            builder.DumpArea(new Vector2Int(-110, -110), new Vector2Int(1, 1));
        }
Esempio n. 2
0
        public static void DumpCenterPlaza()
        {
            var builder = new AssetBundleBuilder();

            builder.skipAlreadyBuiltBundles = true;
            var zoneArray = Utils.GetCenteredZoneArray(new Vector2Int(0, 0), new Vector2Int(30, 30));

            builder.DumpArea(zoneArray);
        }
Esempio n. 3
0
        public static void DumpMuseum()
        {
            var builder = new AssetBundleBuilder();

            builder.environment             = ContentServerUtils.ApiEnvironment.ORG;
            builder.skipAlreadyBuiltBundles = false;
            var zoneArray = Utils.GetCenteredZoneArray(new Vector2Int(13, 75), new Vector2Int(2, 2));

            builder.DumpArea(zoneArray);
        }
Esempio n. 4
0
        static void DumpAreaToMax(AssetBundleBuilder builder, int x, int y)
        {
            if (x >= 140 || y >= 140)
            {
                return;
            }

            Debug.Log($"--DumpAreaToMax {x}, {y}");
            int nextX = x + 10;
            int nextY = y;

            if (nextX > 130)
            {
                nextX = -130;
                nextY = y + 10;
            }

            builder.DumpArea(new Vector2Int(x, y), new Vector2Int(10, 10), (error) => DumpAreaToMax(builder, nextX, nextY));
        }