5
2024
UnityHub: Make Hub application background Translucent
You can modify UnityHub to enable Translucent Background!
*Note Win10, you need to have transparent color enabled in settings: https://www.partitionwizard.com/partitionmagic/transparent-taskbar-win-10.html
Steps:
– Follow initial steps to unpack asar https://github.com/unitycoder/UnityHubModding
– edit app/build/renderer/index.html, add line: html, body, #app {background-color: rgba(0.7, 0.7, 0.7, 0.2) !important;}
– edit app/build/main/windowManager/baseWindow.js
// find line
const backgroundColor = this.getThemeBackgroundColor();
// replace with these 3 lines
let backgroundColor = this.getThemeBackgroundColor();
backgroundColor+= ’20’;
– Done!
Screenshot with windows desktop background showing through Hub:
Link to github:
https://github.com/unitycoder/UnityHubModding?tab=readme-ov-file#make-hub-background-translucent
Related Posts
2 Comments + Add Comment
Leave a comment
Recent posts
- [GreaseMonkey] Unity Forum Fixer
- UnityHub: Make Hub application background Translucent
- Customize SpriteShapeRenderer quality (but has issues)
- Editor tool: Copy selected gameobject’s names into clipboard as rows (for Excel)
- Editor tool: Replace string in selected gameobject’s names
- UnityHub: Enable built-in Login Dialog (no more browser login/logout issues!)
- Use TikTok-TTS in Unity (with WebRequest)
- Create Scene Thumbnail Image using OnSceneSaved & OnPreviewGUI
- webgl+javascript TTS
- Using Moonsharp (LUA) + Unity Webgl
- Using 3D gameobject prefabs with Unity Tilemap + NavMesh Surface
- Custom Unity Hub Project Template Preview Image/Video (using HTML+CSS in package description)
Recent Comments
- Vector3 maths for dummies! on
- UnityHub: Make Hub application background Translucent on
- UnityHub: Make Hub application background Translucent on
- Install Android SDK+JDK+NDK for Unity (without AndroidStudio or Unity Hub) on
- Install Android SDK+JDK+NDK for Unity (without AndroidStudio or Unity Hub) on
- [Asset Store] Point Cloud Viewer & Tools on
- [Asset Store] Point Cloud Viewer & Tools on
- ffmpeg stream raw video into Unity Texture2D on
Hi. I tried this but each time something happens to window.. (such as resizing/maximizing/a window causing unity hub to be not visible) it causes this effect to no loger work, I noticed this effect does stay if I make unity hub always on top using 3rd party apps, but expect that this effect does not stay long. I tried editing some window code but no luck there, any help?
hmm.. sounds like maybe the rebuild/refresh the page and values are lost or something else, but no ideas at the moment. (i can test again next time i edit hub, ill update the article then)