File tree 4 files changed +10
-4
lines changed
4 files changed +10
-4
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.5 `
26
+ for version ` 1.0.6 `
27
27
``` 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 " ,
29
29
```
30
30
dependency ` extensions-unity-1.0.0 `
31
31
``` csharp
Original file line number Diff line number Diff line change @@ -7,8 +7,13 @@ public static class AdStatic
7
7
{
8
8
public static bool IsRemoveAd
9
9
{
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
10
14
get => PlayerPrefs . GetInt ( $ "{ Application . identifier } _removeads", 0 ) > 0 ;
11
15
set => PlayerPrefs . SetInt ( $ "{ Application . identifier } _removeads", value ? 1 : 0 ) ;
16
+ #endif
12
17
}
13
18
14
19
public static bool isShowingAd ;
Original file line number Diff line number Diff line change 6
6
"GUID:37f16d35c05c6f34eacb567043cec159",
7
7
"GUID:4bd184a02478330468d38d43be22efab",
8
8
"GUID:928509ee676cc2e439010e69f455e144",
9
- "GUID:760a4c7888534400e882b82c5b3fba06"
9
+ "GUID:760a4c7888534400e882b82c5b3fba06",
10
+ "GUID:32dbaa332e571bf429b7de517f75f074"
10
11
],
11
12
"includePlatforms": [],
12
13
"excludePlatforms": [],
Original file line number Diff line number Diff line change 2
2
"name" : " com.wolf-package.advertising" ,
3
3
"displayName" : " UnityCommon-ADS" ,
4
4
"description" : " Support show ads for game unity" ,
5
- "version" : " 1.0.5 " ,
5
+ "version" : " 1.0.6 " ,
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