コード例 #1
0
    public void BuildStepStart(BuildConfiguration pConfiguration)
    {
#if !UNITY_5
        EditorUserBuildSettings.metroBuildType = (MetroBuildType)System.Enum.Parse(typeof(MetroBuildType), pConfiguration.Params);

        if (UBSProcess.LoadUBSProcess().IsInBatchMode)
        {
            Debug.Log("Set build type to: " + EditorUserBuildSettings.metroBuildType.ToString());
        }
#endif
    }
コード例 #2
0
    public void BuildStepStart(BuildConfiguration pConfiguration)
    {
#if !UNITY_5
        EditorUserBuildSettings.metroSDK = (MetroSDK)System.Enum.Parse(typeof(MetroSDK), pConfiguration.Params);

        if (UBSProcess.LoadUBSProcess().IsInBatchMode)
        {
            Debug.Log("Set Windows SDK to: " + EditorUserBuildSettings.metroSDK.ToString());
        }
#else
        EditorUserBuildSettings.wsaSDK = (WSASDK)System.Enum.Parse(typeof(WSASDK), pConfiguration.Params);

        if (UBSProcess.LoadUBSProcess().IsInBatchMode)
        {
            Debug.Log("Set Windows SDK to: " + EditorUserBuildSettings.wsaSDK.ToString());
        }
#endif
    }