I have some lens flare files that I usually use and I forgot where did I get it, I believe I got it from internet. So I return it back to internet so you guys can use it too. Here is the link I stored...

Source Codes & Coding Tutorials
I have some lens flare files that I usually use and I forgot where did I get it, I believe I got it from internet. So I return it back to internet so you guys can use it too. Here is the link I stored...
This simple script is to connect the game to Photon server and instantiate a player prefab on your Resources folder. Make sure your player prefab has PhotonView component in it. Check out this video on how to use it:
In case you need a simple script to move your game character using WASD buttons, feel free to use it:
Hey dude, here I’m going to share a simple script to load any image you can have from URL accross internet and show it as a UI Image inside your Unity game. Create a script name it UiImageFromUrl.cs and copy and paste the script content...
This is a very easy to use Unity Screen Space Marker Overlay script that will help you to show a 2D image/sprite on game screen to show the user some specific objects that has a specific tag. In this video below I will show you...
Hi guys… I’m sharing this C# script to make any game object moving and patrolling along given way points that are simple cubes with trigger and tag on them and bla bla bla… here is the script: You can watch the video for better understanding:
Do these steps to install an app on your Oculus on development stages: Step 1: Preparations: 1. Enable developer mode of Oculus Quest 2: instructions provided from https://developer.oculus.com/documentation/native/android/mobil e-device-setup/ 2. Download & Setup SideQuest from https://sidequestvr.com/setup-howto Step 2: Install APK via SideQuest: 1. Turn on...
Very common beginner problem. The solution to make your lens flares working in Unity: Make sure your camera has Flare Layer component. And make sure your light object is not covered by any collider. Try these two checks then you will see your lens flare...
This two C# snippets may be useful to you if you are working on file read and write in your Unity C# project. Don’t forge to use System.io okay? Here is the code: Write to file List files inside a directory List directories inside a...
You want to make your text uneasily readable, try to encrypt it using this method: UniCipher. I’ve made this simple C# script to convert your text into an unreadable text so no one can easily understand and modify it. Make a script named UniCipher.cs and...
How to create navigation tabs and buttons UI in Unity and how to change the buttons color by script? In this tutorial I will show you how to make tabs in Unity and how to switch between each tab plus its simple button color changing...
Hi there, in this post I’m going to share with you how to create a touchpad to control 2D object movements in Unity. First step is to make an image UI element in your Unity Canvas. Then attach this script to it (name this script...
So, you have a backend script in PHP that returns JSON string and you want to parse that data from your Unity game. What would you do?Based on my experience, here is how I do it. PHP Let’s say I have a PHP script (index.php)...
If you want to check is the Unity game running in a device connected to internet or not, you can call this coroutine function: Simply call that coroutine function like this: StartCoroutine(CheckInternetConnection()); Then wait for a message in your Unity console about internet connection. Don’t...
I made this post to compile some of useful snippets that I frequently use in my coding. So instead of searching around again and again, I better to list them here in one place. How to set object tag by script in Unity This one...
In this blog post, I’m sharing a simple technique and script to make you able to click any 3D object and detect what is the name of that 3D object in your Unity Editor using simple raycasting. First of all, make some 3D objects and...
I have a capsule object with Character Controller component enabled in it. Somehow if I want to change it’s transform.position, I can not just do it like as if it doesn’t have Character Controller. So workaround is, to temporarily disable the CC for a while...
I believe you have seen a lot some games that show a 2D icon or marker that is pointing to an object in 3D world inside the game. In this blog post I will share a simple script that you can learn about it and...
So many times this problem happened to me when I build my Xcode generated project from Unity if I use AdMob. One of the problems is the missing _GoogleMobileAds.h file, and so many other problems. The main cause is because I never used the Cocoapod,...
Several times I got this problem, that when I switched my build settings to Android or iOS, when I open the Player Settings, I found an empty tab/page. I was wondering why it happened. Turned out that I installed non-matching Android and/or iOS Support installation...