Skip to content

Commit dab6a5d

Browse files
committed
unity.webp 0.3.9 - (libwebp version v1.2.2)
- change: use dependency 'org.nuget.system.runtime.compilerservices.unsafe'
1 parent 99f180b commit dab6a5d

File tree

3 files changed

+12
-22
lines changed

3 files changed

+12
-22
lines changed

README.md

Lines changed: 10 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -15,40 +15,30 @@
1515

1616
choose your preference
1717

18-
### using OpenUPM
18+
### using UPM
19+
20+
using `#{version}` for versioning.
1921

20-
As a shared dependency, this uses the openUPM package `com.system-community.systemruntimecompilerservicesunsafe`, you will need to add it to OpenUPM's scopes, and it will be pulled in by this package.
22+
ex)
2123

22-
```json
24+
``` json
2325
{
2426
"dependencies": {
25-
"com.netpyoung.webp": "0.3.8"
27+
"com.netpyoung.webp": "https://github.com/netpyoung/unity.webp.git?path=unity_project/Assets/unity.webp#0.3.9",
28+
"org.nuget.system.runtime.compilerservices.unsafe": "6.0.0"
2629
},
2730
"scopedRegistries": [
2831
{
29-
"name": "package.openupm.com",
30-
"url": "https://package.openupm.com",
32+
"name": "Unity NuGet",
33+
"url": "https://unitynuget-registry.azurewebsites.net",
3134
"scopes": [
32-
"com.netpyoung.webp",
33-
"com.system-community.systemruntimecompilerservicesunsafe"
35+
"org.nuget"
3436
]
3537
}
3638
]
3739
}
3840
```
3941

40-
### using UPM
41-
42-
using `#{version}` for versioning.
43-
44-
ex)
45-
46-
``` json
47-
"com.netpyoung.webp": "https://github.com/netpyoung/unity.webp.git?path=unity_project/Assets/unity.webp#0.3.8",
48-
"com.system-community.systemruntimecompilerservicesunsafe": "https://github.com/system-community/SystemRuntimeCompilerServicesUnsafe.git?path=Assets/_Root#6.0.0",
49-
50-
```
51-
5242
## Example
5343

5444
- check [Samples/ directory](https://github.com/netpyoung/unity.webp/tree/master/unity_project/Assets/Samples)

unity_project/Assets/unity.webp/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "com.netpyoung.webp",
33
"displayName": "Unity.WebP",
4-
"version": "0.3.8",
4+
"version": "0.3.9",
55
"unity": "2018.4",
66
"description": "webp made easy for Unity3d.",
77
"keywords": ["webp","unity.webp"],

unity_project/Assets/unitypackage-builder/Editor/PackageTool.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ public class PackageTool
55
[MenuItem("Package/Update Package")]
66
private static void UpdatePackage()
77
{
8-
const string VERSION = "0.3.8";
8+
const string VERSION = "0.3.9";
99
AssetDatabase.ExportPackage(
1010
new[] {"Assets/unity.webp"},
1111
$"../webp-{VERSION}.unitypackage",

0 commit comments

Comments
 (0)