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