Browsing articles in "Tutorials"
Sep
23
2017

Drawing 2D lines and Adding Collider to it

Hi awesome reader! In our past tutorial “How to Draw Line” we discussed about drawing a line in the game by mouse interaction. But sometimes we need to draw a line that collides with our game objects in 2D mode. So we need to add […]

Aug
27
2017

Drawing Lines

Hi dear reader! In this tutorial we want to learn how to draw a line in unity by user mouse movement and interaction. First we need a component that would be able to render simple lines. Our choice is ​Line Renderer​, this component is able […]

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 – […]

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 […]

Nov
22
2016

Publish .ipa file from Windows PC to iOS without Mac

With Unity Cloud Build service, you can create iOS apps, without ever needing Macintosh+XCode! First steps – Register as an Apple Developer : https://developer.apple.com/programs/enroll/ – Join Unity Cloud Build (if you haven’t already) : https://unity3d.com/services/cloud-build – Follow cloud build instructions there, its quite simple to […]

Nov
4
2016

Using Accord.NET with Unity

While looking for Harris Corner Detection examples, without using openCV, founded this framework: “The Accord.NET Framework is a machine learning framework combined with audio and image processing libraries completely written in C#” Website: http://accord-framework.net Github: https://github.com/accord-net/framework *Note: There is updated tutorial here with images: https://github.com/accord-net/framework/wiki/Unity […]

Oct
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 […]

Pages:12345»

@unitycoder_com

Subscribe to Blog via Email

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