19
2015
Mecanim Simple Trigger Animation Example
Simple test project, triggering shoot animation on key press, and not triggering it, if its already running. Also one Animation event call included, could be used to spawn the projectile at correct frame. Project sources: https://github.com/unitycoder/UnityMecanimBasicAnim Resources: – Sprite created with Universal LPC Sprite Sheet […]
10
2015
Simple Event & Delegate Script
Just a quick test on events & delegates (taken from this live tutorial) – New scene – Add Sphere object to the scene (and move it into Main Camera view, for example 0,0,0) – Create new script: FireEvent.cs – Attach “FireEvent.cs” script into […]
15
2012
How to make GUITexture to flash white
(Been busy doing a small 3D simulator for iPad3..) Customer wanted a thunder sound on the main menu (when entering it), I also added a brigth flash effect for the gui textures (logo, buttons, background). Flash also needs to happen at a given time (to […]
Recent posts
- 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)
- 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)