コード例 #1
0
 public override string PrepareForBuild(BuildOptions options, BuildTarget target)
 {
     if (EditorUserBuildSettings.wsaSDK != WSASDK.UWP)
     {
         return(null);
     }
     if (Utility.UseIl2CppScriptingBackend())
     {
         return(null);
     }
     return(NuGet.Restore(target));
 }
コード例 #2
0
        public static string Restore(BuildTarget target)
        {
            string str;
            NuGet  get = new NuGet(target);

            if (!get.Restore(out str))
            {
                Console.WriteLine("Retrying NuGet package restore.");
                get.Restore(out str);
            }
            return(str);
        }