using System; using System.Collections.Generic; using UnityEngine.Purchasing.Extension; namespace UnityEngine.Purchasing { internal class SimpleCatalogProvider : ICatalogProvider { private Action>> m_Func; internal SimpleCatalogProvider (Action>> func) { m_Func = func; } public void FetchProducts (Action> callback) { if (m_Func != null) { m_Func (callback); } } } }