示例#1
0
    /// <summary>
    /// Updates the Tap Points for the user with the given spent amount of currency.
    /// If the spent amount exceeds the current amount of currency the user has, nothing will happen.
    /// </summary>
    /// <param name="points">
    /// A <see cref="System.Int32"/>
    /// </param>
    public static void SpendTapPoints(int points)
    {
        if (Application.platform == RuntimePlatform.OSXEditor)
        {
            return;
        }

        TapjoyPlatformPlugin.SpendTapPoints(points);
    }
示例#2
0
    /// <summary>
    /// Updates the Tap Points for the user with the given spent amount of currency.
    /// If the spent amount exceeds the current amount of currency the user has, nothing will happen.
    /// </summary>
    /// <param name="points">
    /// A <see cref="System.Int32"/>
    /// </param>
    public static void SpendTapPoints(int points)
    {
        if (Application.isEditor)
        {
            return;
        }

        TapjoyPlatformPlugin.SpendTapPoints(points);
    }