Skip to content

netpyoung/unity.webp

Repository files navigation

unity.webp

What's this?

This project was based in octo-code/webp-unity3d.

I decided that there should be a simpler way and I created unity.webp, a plugin that helps you to use webp in your Unity3d projects in a clear and easy way and works in iOS, Android, Windows, Linux projects.

prebuilt library

installation

Choose your preference:

Using OpenUPM installer

Download and install via the Package Installer. No manual registry setup is needed.

Using OpenUPM manually

{
  "dependencies": {
    "com.netpyoung.webp": "0.3.18"
  },
  "scopedRegistries": [
    {
      "name": "OpenUPM",
      "url": "https://package.openupm.com",
      "scopes": [
        "com.netpyoung.webp",
        "org.nuget.system.runtime.compilerservices.unsafe"
      ]
    }
  ]
}

Using UPM from GitHub and Unity NuGet

{
  "dependencies": {
    "com.netpyoung.webp": "https://github.com/netpyoung/unity.webp.git?path=unity_project/Assets/unity.webp#0.3.18"
  },
  "scopedRegistries": [
    {
      "name": "Unity NuGet",
      "url": "https://unitynuget-registry.azurewebsites.net",
      "scopes": [
        "org.nuget"
      ]
    }
  ]
}

Example

Demo

animation.webp

WebGL

stop to support .unitypackage

  • This library depends on System.Runtime.CompilerServices.Unsafe. But with package manager and .unitypackage it is hard to maintain both. so I deprecated to support .unitypackage.

LICENCE

webp

  • BSD

    webp

Ref

Sponsor this project

 

Packages

No packages published

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy