Runtime Thumbnails
Generate Texture2D thumbnails from GameObjects and prefabs at runtime using an in-game camera. Perfect for creating dynamic preview images, inventory icons, or UI thumbnails without requiring offline rendering or external tools. Supports camera views, individual objects, and prefabs with simple, straightforward API.
com.eviltwo.runtime-thumbnails Install via UPM
Add to Unity Package Manager using this URL
https://www.pkglnk.dev/runtime-thumbnails.git README Markdown
Copy this to your project's README.md
## Installation
Add **Runtime Thumbnails** to your Unity project via Package Manager:
1. Open **Window > Package Manager**
2. Click **+** > **Add package from git URL**
3. Enter:
```
https://www.pkglnk.dev/runtime-thumbnails.git
```
[](https://www.pkglnk.dev/pkg/runtime-thumbnails)README
RuntimeThumbnails
Generate Texture2D from Game Object or prefab using a camera at runtime.
// Camera view
tex = thumbnailGenerator.Generate();
// Game Object
objectThumbnailGenerator.TargetObject = targetObject;
tex = objectThumbnailGenerator.Generate();
// Prefab
prefabThumbnailGenerator.TargetObject = targetPrefab;
tex = prefabThumbnailGenerator.Generate();
Import via UPM
https://github.com/eviltwo/RuntimeThumbnails.git
Comments
No comments yet. Be the first!
Sign in to join the conversation
Sign In