11
2024
MotionVector Effect: Object “disappears” when paused
Tried to make similar effect like this:https://x.com/80Level/status/1866460357566370049 Looks ok, took some effort to find motionvector info.. Source: (shader and blit script)https://gist.github.com/unitycoder/2b39d009505895169ef0fd34fe9b3aa2 Resources:– Noise texture generator: https://tools.unitycoder.com/RandomNoiseTextureGenerator/– 512×512 noise texture: https://github.com/unitycoder/GraphicsAndTexturesThatYouAlwaysNeed/blob/master/Noise/RandomGrayscaleNoise512x512.png Making of:
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 lineconst backgroundColor […]
26
2024
Customize SpriteShapeRenderer quality (but has issues)
Tried using custom shader to have “bend” surface for SpriteShapeRenderer, and it works.. but the mesh is so low resolution, that it doesnt look nice.. Then tried to increase SpriteShape mesh resolution, which worked – but inner mesh and collider broke. (and didnt have time […]
17
2024
Editor tool: Copy selected gameobject’s names into clipboard as rows (for Excel)
Small tool to copy selected gameobjects names into textarea (in correct hierarchy order),so you can copy paste them into Excel. Get source and place into Assets/Editor/ folder(then you can use it from Menu: Tools/Copy GameObject Names)https://github.com/UnityCommunity/UnityLibrary/blob/master/Assets/Scripts/Editor/BatchTools/CopyGameObjectNames.cs
17
2024
Editor tool: Replace string in selected gameobject’s names
small tool to replace string from selected gameobject names,download from here and place into Assets/Editor/ folder:https://github.com/UnityCommunity/UnityLibrary/blob/master/Assets/Scripts/Editor/BatchTools/ReplaceCharacterInGameObjectNames.cs Then you can use it from Menu: “Tools/Replace Characters in GameObject Names” ^This would rename “Cube|aaa” into “Cube@aaa” and so on.
26
2024
UnityHub: Enable built-in Login Dialog (no more browser login/logout issues!)
Just noticed that Unity Hub has builtin login dialog system hidden inside! Steps– Unpack your app.asar, see info https://github.com/unitycoder/UnityHubModding– Open Unity Hub\resources\app\build\main\services\authService\AuthService.js// Find lineif ((0, appDefaultProtocolClientHelpers_1.isUnityHubProtocolHandled)()) {// replace with (to make this “if” be false, so that createLoginWindow gets called instead)if (1==0 && (0, appDefaultProtocolClientHelpers_1.isUnityHubProtocolHandled)()) […]
24
2024
Use TikTok-TTS in Unity (with WebRequest)
Was watching some weird physics based game developed at https://www.twitch.tv/clayman_dev and they used node.js+tiktok TTS to play funny text-to-speech sounds! Then found this library, https://github.com/Steve0929/tiktok-tts (took a while to get it working as node.js, due to sessionid+server mismatch, but posted solution here https://github.com/Steve0929/tiktok-tts/issues/17 ) Then […]
7
2024
Create Scene Thumbnail Image using OnSceneSaved & OnPreviewGUI
Testing about creating Scene Preview image from Scene Camera view, when scene is savedand then display that preview image when scene is selected! Resources:– https://docs.unity3d.com/ScriptReference/SceneManagement.EditorSceneManager-sceneSaved.html– https://docs.unity3d.com/ScriptReference/Editor.OnPreviewGUI.html Forum thread: (where i got the idea to try)https://forum.unity.com/threads/2024-and-still-no-snapshot.1575175/ Source:https://gist.github.com/unitycoder/b740b9db92e454d83ade8528d5e1f382 VIDEO: (making of) New: One other alternative,can use RenderStaticPreview […]
13
2024
Using Moonsharp (LUA) + Unity Webgl
Moonsharp has some issues in webgl builds, but here’s working repo and some notes. REPO ( unity 2022.3.7f1 )– https://github.com/unitycoder/MoonSharpWebGL WEBGL DEMO– https://unitycoder.com/upload/demos/moonsharpwebgl/ NOTES– You need to grab this webgl fix: https://github.com/moonsharp-devs/moonsharp/pull/146– You need to do hard wiring (or at least i didn’t get the […]
9
2024
Using 3D gameobject prefabs with Unity Tilemap + NavMesh Surface
Required Packages – Tested this on Unity 2023.2.3f1 (but works in other versions too)– AI Navigation : https://docs.unity3d.com/Packages/com.unity.ai.navigation@2.0/manual/index.html– 2D Tilemap Editor : https://docs.unity3d.com/Packages/com.unity.2d.tilemap@1.0/manual/index.html– 2D Tilemap Extras : https://docs.unity3d.com/Packages/com.unity.2d.tilemap.extras@4.0/manual/index.html Setup Tilemap with 3D Prefabs – Add 2D Tilemap to Scene– Set Grid Cell layout to XZY […]
Recent posts
- MotionVector Effect: Object “disappears” when paused
- [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
Recent Comments
- [Asset Store] Point Cloud Viewer & Tools on
- [Asset Store] Point Cloud Viewer & Tools on
- 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