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 23
23
24
24
### Add the line below to ` Packages/manifest.json `
25
25
26
- for version ` 1.0.0 `
26
+ for version ` 1.0.1 `
27
27
``` 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 " ,
29
29
```
30
- dependency ` extensions-unity-1.0.0 `
30
+ dependency ` extensions-unity-1.0.1 `
31
31
``` 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 " ,
33
33
```
34
34
35
35
## Use
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ namespace VirtueSky.Iap
11
11
{
12
12
public class IapManager : MonoBehaviour , IDetailedStoreListener
13
13
{
14
- public bool dontDestroyOnLoad = true ;
14
+ [ SerializeField ] private bool dontDestroyOnLoad = true ;
15
15
private static IapManager _instance ;
16
16
public static event Action < string > OnPurchaseSucceedEvent ;
17
17
public static event Action < string > OnPurchaseFailedEvent ;
Original file line number Diff line number Diff line change 2
2
"name" : " com.wolf-package.in-app-purchasing" ,
3
3
"displayName" : " UnityCommon-IAP" ,
4
4
"description" : " Support for unity in-app-purchasing" ,
5
- "version" : " 1.0.0 " ,
5
+ "version" : " 1.0.1 " ,
6
6
"unity" : " 2021.3" ,
7
7
"category" : " virtuesky" ,
8
8
"license" : " MIT" ,
You can’t perform that action at this time.
0 commit comments