File tree Expand file tree Collapse file tree 4 files changed +10
-4
lines changed Expand file tree Collapse file tree 4 files changed +10
-4
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.5 `
26+ for version ` 1.0.6 `
2727``` csharp
28- " com.wolf-package.advertising" : " https://github.com/wolf-package/advertising-unity.git#1.0.5 " ,
28+ " com.wolf-package.advertising" : " https://github.com/wolf-package/advertising-unity.git#1.0.6 " ,
2929```
3030dependency ` extensions-unity-1.0.0 `
3131``` csharp
Original file line number Diff line number Diff line change @@ -7,8 +7,13 @@ public static class AdStatic
77 {
88 public static bool IsRemoveAd
99 {
10+ #if VIRTUESKY_DATA
11+ get => VirtueSky . DataStorage . GameData . Get ( $ "{ Application . identifier } _removeads", false ) ;
12+ set => VirtueSky . DataStorage . GameData . Set ( $ "{ Application . identifier } _removeads", value ) ;
13+ #else
1014 get => PlayerPrefs . GetInt ( $ "{ Application . identifier } _removeads", 0 ) > 0 ;
1115 set => PlayerPrefs . SetInt ( $ "{ Application . identifier } _removeads", value ? 1 : 0 ) ;
16+ #endif
1217 }
1318
1419 public static bool isShowingAd ;
Original file line number Diff line number Diff line change 66 "GUID:37f16d35c05c6f34eacb567043cec159",
77 "GUID:4bd184a02478330468d38d43be22efab",
88 "GUID:928509ee676cc2e439010e69f455e144",
9- "GUID:760a4c7888534400e882b82c5b3fba06"
9+ "GUID:760a4c7888534400e882b82c5b3fba06",
10+ "GUID:32dbaa332e571bf429b7de517f75f074"
1011 ],
1112 "includePlatforms": [],
1213 "excludePlatforms": [],
Original file line number Diff line number Diff line change 22 "name" : " com.wolf-package.advertising" ,
33 "displayName" : " UnityCommon-ADS" ,
44 "description" : " Support show ads for game unity" ,
5- "version" : " 1.0.5 " ,
5+ "version" : " 1.0.6 " ,
66 "unity" : " 2021.3" ,
77 "category" : " virtuesky" ,
88 "license" : " MIT" ,
You can’t perform that action at this time.
0 commit comments