Inheritance: PostProcessWSA
コード例 #1
0
        public override void PostProcess(BuildPostProcessArgs args)
        {
            PostProcessWSA swsa;
            WSASDK         wsaSDK = EditorUserBuildSettings.wsaSDK;

            switch (wsaSDK)
            {
            case WSASDK.SDK81:
                swsa = new PostProcessStore81(args, null);
                break;

            case WSASDK.PhoneSDK81:
                swsa = new PostProcessPhone81(args, null);
                break;

            case WSASDK.UniversalSDK81:
                swsa = new PostProcessUniversal81(args);
                break;

            case WSASDK.UWP:
                if (PlayerSettings.GetScriptingBackend(BuildTargetGroup.WSA) != ScriptingImplementation.IL2CPP)
                {
                    swsa = new PostProcessUAPDotNet(args, null);
                    break;
                }
                swsa = new PostProcessUAPIl2Cpp(args, null);
                break;

            default:
                throw new NotSupportedException($"{wsaSDK} is not supported.");
            }
            swsa.Process();
        }
コード例 #2
0
        public override void PostProcess(BuildPostProcessArgs args)
        {
            PostProcessWSA swsa;
            WSASDK wsaSDK = EditorUserBuildSettings.wsaSDK;
            switch (wsaSDK)
            {
                case WSASDK.SDK81:
                    swsa = new PostProcessStore81(args, null);
                    break;

                case WSASDK.PhoneSDK81:
                    swsa = new PostProcessPhone81(args, null);
                    break;

                case WSASDK.UniversalSDK81:
                    swsa = new PostProcessUniversal81(args);
                    break;

                case WSASDK.UWP:
                    if (PlayerSettings.GetScriptingBackend(BuildTargetGroup.WSA) != ScriptingImplementation.IL2CPP)
                    {
                        swsa = new PostProcessUAPDotNet(args, null);
                        break;
                    }
                    swsa = new PostProcessUAPIl2Cpp(args, null);
                    break;

                default:
                    throw new NotSupportedException(string.Format("{0} is not supported.", wsaSDK));
            }
            swsa.Process();
        }