{"id":23177285,"url":"https://github.com/haoming02/unity-transparent-window","last_synced_at":"2026-05-05T07:31:35.976Z","repository":{"id":245396717,"uuid":"817236897","full_name":"Haoming02/unity-transparent-window","owner":"Haoming02","description":"Simple script to create see-through and click-through window","archived":false,"fork":false,"pushed_at":"2025-04-02T03:30:42.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-02T04:26:04.543Z","etag":null,"topics":["unity","win32"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Haoming02.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-19T09:42:34.000Z","updated_at":"2025-04-02T03:29:15.000Z","dependencies_parsed_at":"2024-12-18T06:32:47.952Z","dependency_job_id":"883d81e7-d57e-4832-bf74-191da58faba9","html_url":"https://github.com/Haoming02/unity-transparent-window","commit_stats":null,"previous_names":["haoming02/unity-transparent-window"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Haoming02/unity-transparent-window","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Haoming02%2Funity-transparent-window","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Haoming02%2Funity-transparent-window/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Haoming02%2Funity-transparent-window/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Haoming02%2Funity-transparent-window/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Haoming02","download_url":"https://codeload.github.com/Haoming02/unity-transparent-window/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Haoming02%2Funity-transparent-window/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32640533,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"online","status_checked_at":"2026-05-05T02:00:06.033Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["unity","win32"],"created_at":"2024-12-18T06:32:43.093Z","updated_at":"2026-05-05T07:31:35.960Z","avatar_url":"https://github.com/Haoming02.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"﻿# Unity Transparent Window\nA simple utility script that lets you build applications with a transparent background, allowing users to see through and click through the window.\n\n\u003e [!Note]\n\u003e While this script was primarily written for UnityEngine, it should also work for regular C# programs, as no Unity library was used.\n\n\u003e [!Important]\n\u003e Since the script uses functions from `user32.dll`, it is only usable on **Windows** systems\n\n## Features\n\u003e This script comes with **3** modes to choose from:\n\n- **Chroma**\n    - Designate a color *(**eg.** green)* to be cut out\n    - Areas originally to be rendered with that color, either from UI or objects, will become see-through and click-through\n    - For 3D scenes, remember to take lighting into account\n    - Does **not** support half-transparency *(**eg.** feathered edges of a sprite)*\n\n- **Manual**\n    - Turn the entire screen transparent based on alpha *(**eg.** set the `A` channel of the Camera's **Background** to `0`)*\n    - Manually control when the program is click-through via code\n    - Support half-transparency\n\n- **None**\n    - If you just want to hide the Taskbar icon\n\n### Extras\n\u003e Some additional features\n\n- **Always on Top**\n    - Make the program continue to stay on the screen after the user clicks on other windows underneath *(**ie.** overlay effect)*\n    - For UnityEngine, enable the **Run in Background** player setting to let the program continue running\n\n- **Hide Taskbar**\n    - Hide the icon of the program in the Taskbar\n    - You will need to kill the process via Task Manager, if you did not set up a close button and lost focus to the program\n\n## Prerequisite for Unity\n\u003e These requirements only concern UnityEngine\n\n- Disable the **Flip Model Swapchain** under Resolution and Presentation in the Player settings\n- Only the **built-in** *(a.k.a **legacy**, **standard**, etc.)* render pipeline is supported\n\n\u003e [!Important]\n\u003e To prevent breaking the Editor, this script only functions when actually built\n\n\u003chr\u003e\n\n- **Reference:** [Video by. CodeMonkey](https://youtu.be/RqgsGaMPZTw?feature=shared)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaoming02%2Funity-transparent-window","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhaoming02%2Funity-transparent-window","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaoming02%2Funity-transparent-window/lists"}