Exemplo n.º 1
0
    public static void BuildAndRun()
    {
        try
        {
            //open the bundle server window for configuration
            BundleServerWindow.BundleServerWidget();

            if (BuildSettings.DevBundleMode != EB.Assets.DevBundleType.NoBundles)
            {
                BuildDataOnly(BuildOptions.Development | BuildOptions.UncompressedAssetBundle);
            }

            BuildCodeAndRun();
        }
        finally
        {
        }
    }
Exemplo n.º 2
0
    public static void BuildCodeAndRun()
    {
        try
        {
            //open the bundle server window for configuration
            if (BuildSettings.DevBundleMode != EB.Assets.DevBundleType.NoBundles)
            {
                BundlesBuiltSanityCheck();
            }

            BundleServerWindow.BundleServerWidget();
            BuildOptions options = BuildSettings.Options | BuildOptions.Development | BuildOptions.UncompressedAssetBundle;
            options = EB.Flag.Unset(options, BuildOptions.AutoRunPlayer);
            BuildPlayer(Directory.GetCurrentDirectory() + "/android.apk", options);
            LaunchGameAndroid();
        }
        finally
        {
        }
    }