18
2021
Run Unity Cloud Build based on Github Commit message using Github Actions
This should had been easy, but unity cloud build system has every secret id hidden in different places and using different names.. Create github action (click Actions from your repository) click “Skip this and set up a workflow yourself” copy ready to use script from: […]
7
2020
Find out which script Disabled or Enabled this GameObject?
Small script to help tracking who disabled or enabled gameobject,https://github.com/UnityCommunity/UnityLibrary/blob/master/Assets/Scripts/Helpers/Debug/WhoDisabledOrEnabled.cs Usage:– Add script to the gameobject you need to track– press play– see console for the error messages, select the error message row, and see stack trace for the calling script names and lines.
8
2019
Set Quad Scale to Match VideoPlayer Aspect Ratio
Needed quick videoplayer quad mesh resizer, to match video size, so here’s a small editor helper script:https://github.com/UnityCommunity/UnityLibrary/blob/master/Assets/Scripts/Editor/ContextMenu/GetVideoAspectRatioEditor.cs It checks video width and height, and then scales transform Y axis to match aspect ratio.
29
2017
Visual Studio Snippet Generator Online
Didn’t find any easy or working snippets generator for VS, so made one with javascript: New page: http://tools.unitycoder.com/VisualStudioSnippetsGenerator/ Collecting some useful snippets here *currently just 1 there : ) https://github.com/unitycoder/UnityVisualStudioSnippets Feel free to post ideas for most common snippets.. personally i’d like to add […]
12
2017
Editor Plugin: Paste Script To File
Small editor script to easily paste full script into new file in project. (instead of having to manually create new script file, opening it, pasting contents to it, renaming file etc..) Usage – Download CopyPasteHelper.cs script from https://github.com/UnityCommunity/UnityLibrary/blob/master/Scripts/Editor/Tools/CopyPasteHelper.cs – Place it under Editor/ folder in […]
7
2016
Adding Custom Script Templates
Adding custom script templates is quite simple: – Create your custom script – Replace all class name strings with #SCRIPTNAME# (this will get replaced by the new created script name) – Move the script file under your unity installation folder: \Unity\Editor\Data\Resources\ScriptTemplates\ – Rename “YourScript.cs” into […]
3
2015
UI Text TypeWriter Effect [Script]
Quick & simple UI text typewriter effect (displays UI text 1 character at a time) Assign to UI text component, it grabs the text from it at Awake() and clears it, then starts to type out the text 1 character at a time. This file […]
4
2015
Leap Motion: Get Finger Position & Direction
Took a while to find info on how to simply get the Leap hand finger positions in unity, here’s cleaned up script to draw rays from fingertips to their pointing direction. This file contains bidirectional Unicode text that may be interpreted or compiled differently […]
2
2015
Dolly Zoom Effect
http://en.wikipedia.org/wiki/Dolly_zoom This version only works when target is directly at front (towards z), also viewWidth is manually given..(see for formula on that wikipage) Source: (attach to camera) This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To […]
24
2014
Mobius strip Mesh Generator
^Current results.. drawn with Debug.Drawline() for now.. Trying to create möbius strip mesh using a script.. Founded some formulas here: (and it even has .obj exporter, but rather do it inside unity..) http://www.java2s.com/Open-Source/CSharp_Free_Code/3D/Download_Helix_3D_Toolkit.htm TODO: – Build mesh (möbius strip) ** Well there is now better […]
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