https://github.com/kiraio-moe/unigify
GIF decoder/viewer for Unity
https://github.com/kiraio-moe/unigify
decoder gif unity unity2d unity3d
Last synced: 6 months ago
JSON representation
GIF decoder/viewer for Unity
- Host: GitHub
- URL: https://github.com/kiraio-moe/unigify
- Owner: kiraio-moe
- Created: 2024-08-13T20:22:00.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-15T13:04:13.000Z (almost 2 years ago)
- Last Synced: 2025-02-09T20:38:05.300Z (over 1 year ago)
- Topics: decoder, gif, unity, unity2d, unity3d
- Language: C#
- Homepage:
- Size: 4.94 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# UniGify
A GIF decoder/viewer for Unity.
## Installation
- UPM
You can install the plugin using Package Manager > Add package from Git url:
```
https://github.com/kiraio-moe/UniGify.git
```
## How To Use
> [!IMPORTANT]
> Because of the nature of Unity Editor to treat `.gif` file as a `Texture`,
> you need to append your `.gif` file with `.bytes`, so Unity will import the asset as is.
>
> Example: `mygif.gif` => `mygif.gif.bytes`
- Add your desired GIF viewer components (`GifSpriteRenderer`, `GifImage`, `GifRawImage`) to the GameObject.
- Assign the `Source` field of the viewer.
- You can toggle `Play On Start` to autoplay the GIF at start or not.