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 […]
18
2024
webgl+javascript TTS
Quick TTS test, uses jslib to call js SpeechSynthesisUtterance. sample project:https://github.com/unitycoder/webgl-js-TTS webgl demo:https://unitycoder.com/upload/demos/webglTTSjs/ References:https://docs.unity3d.com/Manual/webgl-interactingwithbrowserscripting.html
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 […]
6
2024
Custom Unity Hub Project Template Preview Image/Video (using HTML+CSS in package description)
Steps WARNING! VIDEO forum post: https://forum.unity.com/threads/workaround-custom-icon-and-preview-image-for-your-new-project-templates.1554800/
12
2024
UnityHub: Enable Create Project Button (without having to select Cloud Organization)
Info:https://github.com/unitycoder/UnityHubModding
29
2024
Pong-Wars in Unity
Converted this javascript thing into unity c#https://github.com/vnglst/pong-wars source code: *might have some bugs still (and not optimized at all).https://gist.github.com/unitycoder/a10c215ec9c477ff0e04c964dff3208f usage:– attach script to Quad with Unlit material– assign some soundclip or disable the audio in code making of video:https://www.youtube.com/watch?v=EP5QwyGdN70
4
2024
Install Android SDK+JDK+NDK for Unity (without AndroidStudio or Unity Hub)
I just wanted to build Quest 3 XR demo apk quickly.. but ended up fighting with android sdk installations. STEPS TROUBLESHOOTING sdkmanager.bat says: “.. been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime […]
Recent posts
- 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)
- Check if point is inside polygon 2D (using line intersection)
- UnityHub: Enable Create Project Button (without having to select Cloud Organization)
- UI: Make Tooltip background fit Text content length
- Pong-Wars in Unity
- Install Android SDK+JDK+NDK for Unity (without AndroidStudio or Unity Hub)
- UnityHub: Add support for custom project title (instead of folder name) or use ProductName
- Testing Unity MUSE AI