In this blog post I will share a simple script that I’ve made to randomize what game object to be instantiated at a certain position as a child game object. For example, a car game object needs random accessories to be instantiated at certain area...
Category: Unity
How to downgrade to Unity Ads version 4.4.2 ?
I am using Unity Ads and very happy. Recently there is a newer version of Unity Ads, which is version 4.12.0 and somehow I got problem when exporting my game as Android apk. I realized that this update is useless to me. I tried to...
How to make a mobile airplane / aircraft simulator game easily
Hello guys. There is a nice free and open source project on GitHub that you can use to make your airplane mobile game. Check out this aircraft physic source code on GitHub: https://github.com/gasgiant/Aircraft-Physics/tree/master Well, the example scene is working fine and you can control your...
How to make Unity multiplayer game using Photon Fusion
In this blog post I will share some video tutorials about how to make your own Unity multiplayer game using Photon Fusion for free… Here is the list of videos: 1. Introduction 2. Basic example 3. Player Nickname – Basic 4. Player Nickname – Random...
How to make “Friend Follows Player” in Unity Game Development
This is a video tutorial showing you how to make a friendly object/character that will follow the player object anywhere it goes. For example in this game I have FPS character controller, and wherever I go I can make that friendly object walks following me...
Tutorial how to make rocket launcher shooting game in Unity
Hi, in this blog post I will start a tutorial series about how to make rocket launcher shooting game in Unity. I already have the game ready. It is a FPS game with Skibidi Toilet monsters around and we need to escape and run away...
Useful and free light flares for your Unity game development
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...
Simple Example to begin with Photon PUN multiplayer game development
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: Ready to develop more? Watch out...
Super Silly Simple Unity FPS WASD player movement script
In case you need a simple script to move your game character using WASD buttons, feel free to use it:
Super simple way to load any image from URL and show it as a UI Image in Unity
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...
Blinking Marker – Unity Screen Space Marker Overlay Script
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...
ThirteeNov Walk Patrol C# script for creating any patrolling game object in Unity
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:
How to Install VR APK during development for Oculus Quest 2
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 this link 2. Download & Setup SideQuest from this link Step 2: Install APK via SideQuest: 1. Turn...
Unity lens flare is not working, what should I do?
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...
Some C# methods to write and read files, creating a folder and listing files inside it
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...
Introducing UniCipher : encrypt your playerprefs and any string to make them unreadable
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...
Unity navigation tabs tutorial
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...
2D Object Movement Touchpad Script for Unity
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...
PHP JSON to Unity C# and Vice Versa
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)...
How to check whether the device is connected to internet or not in Unity
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...