Browsing articles in "Unity3d"
Jul
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 […]

May
21
2017

iOS App crashes only if downloaded from Appstore or TestFlight

Had annoying issue with one ios app, it worked perfectly when build locally from xcode to device, but after uploading to AppStore, that version crashes in all devices. Solution was rather simple: Solution Disable [ ] Include bitcode option when uploading your app archive to […]

May
20
2017

Terrain AlphaMap Texture FilterMode (sharp texture blending)

You can use shader to do sharp blending on terrain textures like this old version custom terrain sharp blending shader, but can also set alphamap texture filtermode instead! (no custom shaders needed) With custom editor script, you can do this: Example project with the editor […]

May
19
2017

Install & Run Unity in Linux Terminal

see latest releases here: https://forum.unity3d.com/threads/unity-on-linux-release-notes-and-known-issues.350256/ INSTALL – Login to ssh terminal (i’m using Ubuntu-14.04.1-LTS-64bit) – download package (i took 5.5.3): wget http://beta.unity3d.com/download/a2454d41e248/unity-editor_amd64-5.5.3xf1Linux.deb – install: sudo dpkg -i unity-editor_amd64-5.5.3xf1Linux.deb – missing dependencies error..google, help! – try: sudo apt-get -f install – try: sudo apt-get update – […]

Apr
21
2017

Using SharpNav with Unity

Noticed this SharpNav repository (Advanced Pathfinding for C#) at https://github.com/Robmaister/SharpNav Since new unity versions support .NET 4.6, this should work in unity too, the sample script below runs, but not sure how to access the navmesh or navigation features.. Instructions: – Download SharpNav https://github.com/Robmaister/SharpNav – […]

Mar
25
2017

Mesh Exploder (sources)

Uploaded sources for the old mesh exploder project https://unitycoder.com/blog/2013/08/02/poor-mans-mesh-exploder/ download project: https://github.com/unitycoder/SimpleMeshExploder

Jan
27
2017

Using ImageMagick with Unity

Using ImageMagick with Unity is now possible with the .NET wrapper (github) Tutorial: Add watermark to image – Download required DLL files from https://magick.codeplex.com/releases/view/630360 (I used Magick.NET-7.0.4.400-Q8-x64.zip) – From the zip file, copy “net20\Magick.NET\Magick.NET-Q8-x64.dll” into your Unity project Assets/Plugins/-folder – From the zip file, copy […]

Jan
22
2017

Load AssetBundles with Caching

Small sample script to load assetbundles. Features: – It first loads bundle hash from the manifest file on server – Then uses that hash string as asset bundle loader parameter (to use cached version if available, see docs) – Instantiate gameobject after loading source: https://github.com/UnityCommunity/UnityLibrary/blob/master/Assets/Scripts/AssetBundles/AssetBundleLoader.cs […]

Jan
14
2017

[Shader] Draw World Space UI Always On Top

If you want to draw UI in VR (for example Google Cardboard), it doesn’t support ScreenSpace rendermode in canvas.. So all the UI’s are using WorldSpace RenderMode.. which causes issues when UI goes behind geometry. Fix: You can modify UI shader to disable ZTest Shader […]

Dec
29
2016

Advanced Voxel Terrain

Another version of the old marching cubes terrain, this one has more features.. See images #3-7 in the old post : https://unitycoder.com/blog/2012/09/30/marching-cubes-voxel-terrain/ todo: – Should convert this to c#, then do some cleanup.. – Add more info/instructions sources: https://github.com/unitycoder/VoxelTerrainAdvanced

Pages:«1...9101112131415...49»

Connect

Twitter View LinkedIn profile Youtube Github Join Discord Twitch Instagram BlueSky

UnityLauncherPro

Get UnityLauncherPRO and work faster with Unity Projects!
*free unity hub alternative

@unitycoder_com

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.