コード例 #1
0
        internal static Modifier_Publishing Current()
        {
            var capabilityList = new List <string>();
            var table          = StringEnumConverter.Get <PlayerSettings.WSACapability>();

            foreach (var kv in table)
            {
                var f = PlayerSettings.WSA.GetCapability(kv.Value);
                if (f)
                {
                    capabilityList.Add(kv.Key);
                }
            }

            return(new Modifier_Publishing()
            {
                android_useApkExpansion = AssignableType <bool> .Create(PlayerSettings.Android.useAPKExpansionFiles),

                uwp_capability = capabilityList.ToArray(),

                ps4_attribExclusiveVR = AssignableType <bool> .Create(PlayerSettings.PS4.attribExclusiveVR),
                ps4_attribShareSupport = AssignableType <bool> .Create(PlayerSettings.PS4.attribShareSupport),
                ps4_attribMoveSupport = AssignableType <bool> .Create(PlayerSettings.PS4.attribMoveSupport),
                ps4_category = AssignableType <PlayerSettings.PS4.PS4AppCategory> .Create(PlayerSettings.PS4.category),
                ps4_masterVersion = AssignableType <string> .Create(PlayerSettings.PS4.masterVersion),
                ps4_contentID = AssignableType <string> .Create(PlayerSettings.PS4.contentID),
                ps4_applicationParameter1 = AssignableType <int> .Create(PlayerSettings.PS4.applicationParameter1),
                ps4_applicationParameter2 = AssignableType <int> .Create(PlayerSettings.PS4.applicationParameter2),
                ps4_applicationParameter3 = AssignableType <int> .Create(PlayerSettings.PS4.applicationParameter3),
                ps4_applicationParameter4 = AssignableType <int> .Create(PlayerSettings.PS4.applicationParameter4),
                ps4_enterButtonAssignment = AssignableType <PlayerSettings.PS4.PS4EnterButtonAssignment> .Create(PlayerSettings.PS4.enterButtonAssignment),
            });
        }
コード例 #2
0
        public void Reload(AnyDictionary dict)
        {
            wsaSubtarget = AssignableType <WSASubtarget> .FromEnumDict(dict, "wsaSubtarget");

            wsaUWPBuildType = AssignableType <WSAUWPBuildType> .FromEnumDict(dict, "wsaUWPBuildType");

            wsaUWPSDK = AssignableType <string> .FromDict(dict, "wsaUWPSDK");

            wsaBuildAndRunDeployTarget = AssignableType <WSABuildAndRunDeployTarget> .FromEnumDict(dict, "wsaBuildAndRunDeployTarget");

            wsaGenerateReferenceProjects = AssignableType <bool> .FromDict(dict, "wsaGenerateReferenceProjects");

            ps4BuildSubtarget = AssignableType <PS4BuildSubtarget> .FromEnumDict(dict, "ps4BuildSubtarget");

            ps4HardwareTarget = AssignableType <PS4HardwareTarget> .FromEnumDict(dict, "ps4HardwareTarget");

            androidBuildSystem = AssignableType <AndroidBuildSystem> .FromEnumDict(dict, "androidBuildSystem");

            compressWithPsArc = AssignableType <bool> .FromDict(dict, "compressWithPsArc");

            compressFilesInPackage = AssignableType <bool> .FromDict(dict, "compressFilesInPackage");

            explicitNullChecks = AssignableType <bool> .FromDict(dict, "explicitNullChecks");

            explicitDivideByZeroChecks = AssignableType <bool> .FromDict(dict, "explicitDivideByZeroChecks");
        }
コード例 #3
0
 internal static Modifier_ResolutionAndPresentation Current()
 {
     return(new Modifier_ResolutionAndPresentation()
     {
         runInBackground = AssignableType <bool> .Create(Application.runInBackground),
     });
 }
コード例 #4
0
ファイル: Helper.cs プロジェクト: yoonkiss/minamo
 public void Append <T>(string key, AssignableType <T> value)
 {
     if (value.Flag)
     {
         sb.AppendFormat("{0}={1}, ", key, value);
     }
     ;
 }
コード例 #5
0
ファイル: Modifier_Scripting.cs プロジェクト: yoonkiss/minamo
        public void Reload(AnyDictionary dict)
        {
            apiCompatibilityLevel = AssignableType <ApiCompatibilityLevel> .FromEnumDict(dict, "apiCompatibilityLevel");

            backend = AssignableType <ScriptingImplementation> .FromEnumDict(dict, "backend");

            scriptingRuntimeVersion = AssignableType <ScriptingRuntimeVersion> .FromEnumDict(dict, "scriptingRuntimeVersion");
        }
コード例 #6
0
ファイル: Modifier_Scripting.cs プロジェクト: yoonkiss/minamo
 internal static Modifier_Scripting Current(BuildTargetGroup g)
 {
     return(new Modifier_Scripting(g)
     {
         backend = AssignableType <ScriptingImplementation> .Create(PlayerSettings.GetScriptingBackend(g)),
         apiCompatibilityLevel = AssignableType <ApiCompatibilityLevel> .Create(PlayerSettings.GetApiCompatibilityLevel(g)),
         scriptingRuntimeVersion = AssignableType <ScriptingRuntimeVersion> .Create(PlayerSettings.scriptingRuntimeVersion),
     });
 }
コード例 #7
0
        internal static Modifier_EditorUserBuild Current()
        {
            return(new Modifier_EditorUserBuild()
            {
                wsaSubtarget = AssignableType <WSASubtarget> .Create(EditorUserBuildSettings.wsaSubtarget),
                wsaUWPBuildType = AssignableType <WSAUWPBuildType> .Create(EditorUserBuildSettings.wsaUWPBuildType),
                wsaUWPSDK = AssignableType <string> .Create(EditorUserBuildSettings.wsaUWPSDK),
                wsaBuildAndRunDeployTarget = AssignableType <WSABuildAndRunDeployTarget> .Create(EditorUserBuildSettings.wsaBuildAndRunDeployTarget),
                wsaGenerateReferenceProjects = AssignableType <bool> .Create(EditorUserBuildSettings.wsaGenerateReferenceProjects),

                ps4BuildSubtarget = AssignableType <PS4BuildSubtarget> .Create(EditorUserBuildSettings.ps4BuildSubtarget),
                ps4HardwareTarget = AssignableType <PS4HardwareTarget> .Create(EditorUserBuildSettings.ps4HardwareTarget),

                androidBuildSystem = AssignableType <AndroidBuildSystem> .Create(EditorUserBuildSettings.androidBuildSystem),

                compressWithPsArc = AssignableType <bool> .Create(EditorUserBuildSettings.compressWithPsArc),
                compressFilesInPackage = AssignableType <bool> .Create(EditorUserBuildSettings.compressFilesInPackage),
                explicitNullChecks = AssignableType <bool> .Create(EditorUserBuildSettings.explicitNullChecks),
                explicitDivideByZeroChecks = AssignableType <bool> .Create(EditorUserBuildSettings.explicitDivideByZeroChecks),
            });
        }
コード例 #8
0
        public void Reload(AnyDictionary dict)
        {
            android_useApkExpansion = AssignableType <bool> .FromDict(dict, "android_useApkExpansion");

            var l    = dict.GetList("uwpCapability");
            var list = new List <string>();

            for (int i = 0; l != null && i < l.Count; i++)
            {
                var v = l[i] as string;
                if (v != null)
                {
                    list.Add(v);
                }
            }
            this.uwp_capability = list.ToArray();

            ps4_attribExclusiveVR = AssignableType <bool> .FromDict(dict, "ps4_attribExclusiveVR");

            ps4_attribShareSupport = AssignableType <bool> .FromDict(dict, "ps4_attribShareSupport");

            ps4_attribMoveSupport = AssignableType <bool> .FromDict(dict, "ps4_attribMoveSupport");

            ps4_category = AssignableType <PlayerSettings.PS4.PS4AppCategory> .FromEnumDict(dict, "ps4_category");

            ps4_masterVersion = AssignableType <string> .FromDict(dict, "ps4_masterVersion");

            ps4_contentID = AssignableType <string> .FromDict(dict, "ps4_contentID");

            ps4_applicationParameter1 = AssignableType <int> .FromDict(dict, "ps4_applicationParameter1");

            ps4_applicationParameter2 = AssignableType <int> .FromDict(dict, "ps4_applicationParameter2");

            ps4_applicationParameter3 = AssignableType <int> .FromDict(dict, "ps4_applicationParameter3");

            ps4_applicationParameter4 = AssignableType <int> .FromDict(dict, "ps4_applicationParameter4");

            ps4_enterButtonAssignment = AssignableType <PlayerSettings.PS4.PS4EnterButtonAssignment> .FromEnumDict(dict, "ps4_enterButtonAssignment");
        }
コード例 #9
0
 public void Reload(AnyDictionary dict)
 {
     runInBackground = AssignableType <bool> .FromDict(dict, "runInBackground");
 }