docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class DefaultStoreHelper

    Helper class to manage the default store.

    Inheritance
    object
    DefaultStoreHelper
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.Purchasing
    Assembly: Unity.Purchasing.dll
    Syntax
    public static class DefaultStoreHelper

    Methods

    GetDefaultStoreName()

    Get the default store name.

    Declaration
    public static string GetDefaultStoreName()
    Returns
    Type Description
    string

    The name of the default store.

    OverrideDefaultStoreName(string)

    Override the default store name.

    Declaration
    public static void OverrideDefaultStoreName(string newDefaultStoreName)
    Parameters
    Type Name Description
    string newDefaultStoreName

    The new default store name to set.

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)