Search Unity

[Solved] UnityPurchasingEditor class removed?

Discussion in 'Unity IAP' started by mcjones9, Nov 17, 2017.

Thread Status:
Not open for further replies.
  1. mcjones9

    mcjones9

    Joined:
    May 4, 2017
    Posts:
    6
    Has the UnityPurchasingEditor class been removed?

    We were using UnityPurchasingEditor.TargetAndroidStore() as part of our build scripts, but after updating I am unable to find where this functionality has moved to. Is there a new accessible method for setting the billing mode (short of replacing the contents of BillingMode.json) programmatically?
     
  2. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
  3. IceCatGames

    IceCatGames

    Joined:
    Mar 22, 2016
    Posts:
    33
    This class was moved to UnityEditor.Purchasing.
    Add
    Code (CSharp):
    1. using UnityEditor.Purchasing;
    and it should work again.
     
    IggyZuk likes this.
Thread Status:
Not open for further replies.