Game/Library/PackageCache/com.unity.purchasing@2.1.1/Runtime/managed/Purchasing/IExtensionProvider.cs
2021-01-16 18:29:12 +01:00

18 lines
548 B
C#

using System;
namespace UnityEngine.Purchasing
{
/// <summary>
/// Interface providing access to various store extensions.
/// </summary>
public interface IExtensionProvider
{
/// <summary>
/// Get an implementation of a store extension specified by the template parameter.
/// </summary>
/// <typeparam name="T"> Implementation of <c>IStoreExtension</c> </typeparam>
/// <returns> The store extension requested. </returns>
T GetExtension<T>() where T : IStoreExtension;
}
}