示例#1
0
 public void AddById(string packageId)
 {
     if (isAddRemoveOrEmbedInProgress)
     {
         return;
     }
     m_AddOperation.Add(packageId);
     SetupAddOperation();
 }
示例#2
0
            public void AddById(string packageId)
            {
                if (isAddRemoveOrEmbedInProgress)
                {
                    return;
                }
                var packageName = packageId.Split(new[] { '@' }, 2)[0];

                m_AddOperation.Add(packageId, UpmCache.instance.GetProductId(packageName));
                SetupAddOperation();
            }