SkillAgentSearch skills...

UnityDesktopPetFramework

A transparent window interactive example project based on Unity URP pipeline, suitable for desktop pets, desktop gadgets, etc.

Install / Use

/learn @OnyxAmber/UnityDesktopPetFramework
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

UnityDesktopPetFramework

https://github.com/user-attachments/assets/8096b714-465f-4d7c-b9a4-662d0bb3a9e1

UPDATE: Now with active windows collide physics sample

https://github.com/user-attachments/assets/74aa5786-9882-47b5-ab6b-a5299a2f99a3

A transparent window interactive example project based on Unity URP pipeline, suitable for desktop pets, desktop gadgets, etc.

Compatible with Windows Build

Readme

Version

Unity 2021.3.9f1, using Universal RP 12.1.7

Should be compatible with newer versions, but newer versions of the URP pipeline may require switching RendererFeature

Download

Download this project and open it with Unity Hub

Does not use UnityPackage, see Notes for reasons

Features

  • Post-processing, shaders, Physical system... basically everything Unity can do

  • Transparent background top-level display window

  • Switch window mouse penetration/interactive state

  • Collide with active windows!

  • Hide taskbar icon at runtime

  • Show system tray icon and customizable right-click menu at runtime

Notes

  1. For higher versions (14+) of the URP pipeline:

    The Blit RendererFeature used in the project may no longer be applicable, consider switching to the built-in Full Screen Pass Renderer Feature of this pipeline

  2. The project includes a localized Universal RP Package

    Packages/com.unity.render-pipelines.universal/Shaders/PostProcessing/UberPost.shader
    

    Since the UberPost.shader in Universal RP has been processed to output actual transparency, it has been localized, reference link

    If you want to use it in an existing project, please note this

  3. Make sure that the Collider Layer of the active window is not included in the LayerMask for interaction detection, or the window cannot be dragged

Known Limitations

  • Not suitable for HDR

  • Calls User32.dll, currently only suitable for Windows platform builds

  • Performance requirements may be high, after all, this is basically a Unity game running in the background

References

Related Skills

View on GitHub
GitHub Stars81
CategoryDevelopment
Updated19d ago
Forks19

Languages

C#

Security Score

95/100

Audited on Mar 7, 2026

No findings