Quantcast
Channel: Tutorials – Unity Coding – Unity3D
Viewing all articles
Browse latest Browse all 58

UnityHub: Make Hub application background Translucent

$
0
0

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


Viewing all articles
Browse latest Browse all 58

Trending Articles