How to connect to database from Unity

Please disregard any security risks with this approach Do not do it like this. It doesn’t matter if security will come before or after. You will end of re-writing the whole code because the password is hard-coded in your application which can be decompiled and retrieved easily. Do the connection the correct way now so that you won’t … Read more

Unity – how to make material double sided

Search for the issue gives a number of solutions, but they don’t work for some reason in mine Unity3D 5.4. Like camera inside a sphere I do not see cull and/or sides in material in Unity editor. In C# gives no such setFaceCulling and side property. How to make material double sided?

Blender vs. Unity 

Blender and Unity are not the same things. Unity is a game engine, which means that its purpose is to create games, and you can program in it using C# or JavaScript. But you cannot make 3d models in it. While Blender is a program for modelling mainly. You can create applications or games in it but it … Read more

Unity – How to stop Play Mode in case of infinite loop?

I just got into this situation: accidental infinite loop, stuck in play mode on a scene with unsaved work, Unity unresponsive. But I was lucky enough to have Monodevelop open, even though I was mainly using Sublime for scripting. I pressed the button to start debugging near the top left of the Monodevelop window, then … Read more

Background of MainCamera (Unity C#)

* Edit 2020 Unity now has a simple way to do this, in Unity 2018.4+. Follow these few steps to add texture as a camera background: Create a new Canvas that would hold your image. In that canvas, on Canvas component set: Render Mode to Screen Space – Camera. Render Camera to your main camera … Read more