Пример #1
0
    /// <summary>
    /// Sets the user ID. The user ID defaults to the UDID.
    /// This is only changed when NOT using Tapjoy Managed Currency.
    /// </summary>
    /// <param name="userID">
    /// A <see cref="System.String"/>
    /// </param>
    public static void SetUserID(string userID)
    {
        if (Application.platform == RuntimePlatform.OSXEditor)
        {
            return;
        }

        TapjoyPlatformPlugin.SetUserID(userID);
    }
Пример #2
0
    /// <summary>
    /// Sets the user ID. The user ID defaults to the UDID.
    /// This is only changed when NOT using Tapjoy Managed Currency.
    /// </summary>
    /// <param name="userID">
    /// A <see cref="System.String"/>
    /// </param>
    public static void SetUserID(string userID)
    {
        if (Application.isEditor)
        {
            return;
        }

        TapjoyPlatformPlugin.SetUserID(userID);
    }