Пример #1
0
        public static bool SupportsInstallInBuildFolder(BuildTarget target)
        {
            IBuildPostprocessor buildPostProcessor = ModuleManager.GetBuildPostProcessor(target);

            if (buildPostProcessor != null)
            {
                return(buildPostProcessor.SupportsInstallInBuildFolder());
            }
            switch (target)
            {
            case BuildTarget.PS3:
            case BuildTarget.Android:
                return(true);

            case BuildTarget.XBOX360:
            case (BuildTarget)12:
IL_2F:
                switch (target)
                {
                case BuildTarget.PSP2:
                case BuildTarget.PSM:
                    return(true);

                case BuildTarget.PS4:
IL_44:
                    if (target != BuildTarget.WSAPlayer)
                    {
                        return(false);
                    }
                    return(true);
                }
                goto IL_44;
            }
            goto IL_2F;
        }
Пример #2
0
        public static bool SupportsInstallInBuildFolder(BuildTarget target)
        {
            IBuildPostprocessor buildPostProcessor = ModuleManager.GetBuildPostProcessor(target);

            if (buildPostProcessor != null)
            {
                return(buildPostProcessor.SupportsInstallInBuildFolder());
            }
            BuildTarget buildTarget = target;

            switch (buildTarget)
            {
            case BuildTarget.PS3:
            case BuildTarget.Android:
label_5:
                return(true);

            default:
                switch (buildTarget - 30)
                {
                case ~BuildTarget.iPhone:
                case BuildTarget.StandaloneOSXUniversal:
                    goto label_5;

                default:
                    if (buildTarget != BuildTarget.WSAPlayer && buildTarget != BuildTarget.WP8Player)
                    {
                        return(false);
                    }
                    goto label_5;
                }
            }
        }
Пример #3
0
        public static bool SupportsInstallInBuildFolder(BuildTargetGroup targetGroup, BuildTarget target)
        {
            IBuildPostprocessor buildPostProcessor = ModuleManager.GetBuildPostProcessor(targetGroup, target);
            bool result;

            if (buildPostProcessor != null)
            {
                result = buildPostProcessor.SupportsInstallInBuildFolder();
            }
            else
            {
                switch (target)
                {
                case BuildTarget.PSP2:
                case BuildTarget.PSM:
                    goto IL_46;

                case BuildTarget.PS4:
IL_31:
                    if (target != BuildTarget.Android && target != BuildTarget.WSAPlayer)
                    {
                        result = false;
                        return(result);
                    }
                    goto IL_46;
                }
                goto IL_31;
IL_46:
                result = true;
            }
            return(result);
        }
Пример #4
0
        public static bool SupportsInstallInBuildFolder(BuildTarget target)
        {
            IBuildPostprocessor buildPostProcessor = ModuleManager.GetBuildPostProcessor(target);

            if (buildPostProcessor != null)
            {
                return(buildPostProcessor.SupportsInstallInBuildFolder());
            }
            BuildTarget target2 = target;

            switch (target2)
            {
            case BuildTarget.PS3:
            case BuildTarget.Android:
            case BuildTarget.PSP2:
            case BuildTarget.PSM:
                break;

            default:
                if ((target2 != BuildTarget.WSAPlayer) && (target2 != BuildTarget.WP8Player))
                {
                    return(false);
                }
                break;
            }
            return(true);
        }
Пример #5
0
        static public bool SupportsInstallInBuildFolder(BuildTargetGroup targetGroup, BuildTarget target)
        {
            IBuildPostprocessor postprocessor = ModuleManager.GetBuildPostProcessor(targetGroup, target);

            if (postprocessor != null)
            {
                return(postprocessor.SupportsInstallInBuildFolder());
            }

            return(false);
        }
        public static bool SupportsInstallInBuildFolder(BuildTargetGroup targetGroup, BuildTarget target)
        {
            IBuildPostprocessor buildPostProcessor = ModuleManager.GetBuildPostProcessor(targetGroup, target);
            bool result;

            if (buildPostProcessor != null)
            {
                result = buildPostProcessor.SupportsInstallInBuildFolder();
            }
            else
            {
                result = (target == BuildTarget.Android || target == BuildTarget.WSAPlayer || target == BuildTarget.PSP2);
            }
            return(result);
        }
Пример #7
0
        static public bool SupportsInstallInBuildFolder(BuildTargetGroup targetGroup, BuildTarget target)
        {
            IBuildPostprocessor postprocessor = ModuleManager.GetBuildPostProcessor(targetGroup, target);

            if (postprocessor != null)
            {
                return(postprocessor.SupportsInstallInBuildFolder());
            }

            switch (target)
            {
            case BuildTarget.Android:
            case BuildTarget.WSAPlayer:
                return(true);

            default:
                return(false);
            }
        }