File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 2323
2424### Add the line below to ` Packages/manifest.json `
2525
26- for version ` 1.0.0 `
26+ for version ` 1.0.1 `
2727``` csharp
28- " com.wolf-package.in-app-purchasing" : " https://github.com/wolf-package/in-app-purchasing-unity.git#1.0.0 " ,
28+ " com.wolf-package.in-app-purchasing" : " https://github.com/wolf-package/in-app-purchasing-unity.git#1.0.1 " ,
2929```
30- dependency ` extensions-unity-1.0.0 `
30+ dependency ` extensions-unity-1.0.1 `
3131``` csharp
32- " com.wolf-package.extensions" : " https://github.com/wolf-package/extensions-unity.git#1.0.0 " ,
32+ " com.wolf-package.extensions" : " https://github.com/wolf-package/extensions-unity.git#1.0.1 " ,
3333```
3434
3535## Use
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ namespace VirtueSky.Iap
1111{
1212 public class IapManager : MonoBehaviour , IDetailedStoreListener
1313 {
14- public bool dontDestroyOnLoad = true ;
14+ [ SerializeField ] private bool dontDestroyOnLoad = true ;
1515 private static IapManager _instance ;
1616 public static event Action < string > OnPurchaseSucceedEvent ;
1717 public static event Action < string > OnPurchaseFailedEvent ;
Original file line number Diff line number Diff line change 22 "name" : " com.wolf-package.in-app-purchasing" ,
33 "displayName" : " UnityCommon-IAP" ,
44 "description" : " Support for unity in-app-purchasing" ,
5- "version" : " 1.0.0 " ,
5+ "version" : " 1.0.1 " ,
66 "unity" : " 2021.3" ,
77 "category" : " virtuesky" ,
88 "license" : " MIT" ,
You can’t perform that action at this time.
0 commit comments