I think the only way to make an Asset Bundle in Unity is by using script, this one is taken from Unity official tutorial. Have a folder named Editor in your Assets folder, and make this script inside it: Name the file CreateAssetBundles.cs And then, I think I better show it to you in this…
Category: Unity
How to load a Unity Asset Bunde file from web/url
Make an empty object on your scene and attach this script to it: Don’t forget to specify your correct url to the asset bundle you want to reach and the name of object you need. Watch this video demonstration to see more:
How to make Unity & PHP Login Logout and Register
Hello guys! Watch this series of my videos to see how we can make Unity login, logout and register easily: And here are the code I wrote: First, config.php file Then the index.php backend file And the last file is UnityLoginLogoutRegister.cs file In case you have problem seeing above scripts, check out this github link:…
Strange experience with this Unity error: mapfileparser.sh permission denied
As usual, I work on Unity on my Windows PC, then build the Xcode project files from my pc. This time the project files are so big so I tried to zip them. But zipping process didn’t go until the end, before completely zipping the files, I got an error says somehow it can not…
unity ” is an incorrect path for a scene file. BuildPlayer expects paths relative to the project folder.
This error happened to me when I was trying to export my Unity project. Then it solved after checking my build settings, and I spotted a deleted scene on my build settings with empty text and check mark. I removed that unwanted scene from build settings and done! It solved. In the other words: Remove…
How to make a car controller script in Unity and set-up wheel colliders for a vehicle
In this video below I’m showing how to make a car controller script and how to use it in order to make a movable vehicle in Unity from scratch. This is the script used in this video: If you are interested to get the entire files you see in this video, get this unity package…
Game Language Changer System for Unity Localization
To deal with game UI languages and translations in Unity easily, you can use this very simple language localization system. Define your words translation in a script included in this package and make necessary configuration then you are done! Contact me if you have any further question. Download it for free now. Check out this…
Ciihuy FPS Character Controller System for Unity Mobile Game with Virtual Joystick and Jump Button
This FPS controller system is very simple. You don’t need to care about coding FPS character controller system yourself, because by using this package you can just drag and drop an FPS rig prefab to your scene, then hit play button. You will see a character with camera attached, and on the screen you will…
Let’s Jump – A straightforward Unity C# script to make a Jump Button
You have a capsule as your player placeholder, and you already added a rigid body to it. Then you need to make a jump button. What would you do? Here using this simple script you can make a jump button for your character easily. Attach this script to the capsule with rigid body in it,…
A simple Unity C# script to follow any object’s position and rotation
I call this script “Stick with It”. With this C# script you can parent any object to an object with more options such as setting up position offsets and specifying what rotation axis is needed or not. Here is the script:
How To Make Custom Logo Intro for Your Unity Game
Hello, let’s make our own custom intro logo for our Unity game. So, we need to make our Intro Logo scene first. Give it a name: LogoIntro. This is my logo image in PNG format. Let’s drag and drop it into Unity to import. Click the imported image to view its import settings. Set its…
How to play an Mp3 audio file from URL in Unity
I’m wondering how can I play an mp3 audio file from URL in Unity. So I tried to search around and I found the solution. Watch this video below:
Switchable “Camera Follows a Player” accross mutliple scenes in Unity
This is a Unity package file, if you download it and import it on your empty Unity project, you will see a demonstration about a camera that follows an object, and this camera (it’s position) is switchable, you can click a button to switch between multiple camera positions and angles. Plus there are two buttons…
How to switch between camera positions and angles in Unity by C# script
The script inside this package allows you to switch between camera positions so you can switch between camera angles and positions easily with single click button. In this example, there were 3 camera positions that we can switch between them. In this video I also tried to add another camera position (the 4th position). You…
How to make objects facing towards player in Unity
Some of elements in our game probably need to always face towards the player or player’s camera. With this script we can make any object that this script attached on it, to look at a specific object, like player object or a camera.
Improved MyRotationTouchpad Script for Unity3D (Vertical and Horizontal)
Previously I’ve shared a script with you I called “MyRotationTouchpad”. But I was thinking I need to improve it. So here it is, newer updated script. What I improved in this script is: You can rotate objects horizontally and also vertically. This is the script:
Very Simple Third Person Controller for Unity3D
Based on some of my previous tutorials, I’ve created this very simple third person controller system that you can use for your games. With this system you can move your character by using virtual touch joystick and rotate around by dragging the screen left and right.
MyRotationTouchpad script for Unity3D
This script is made for you if you need a touch pad feature in your Unity game or app. Let’s say you want to rotate an object left or right by clicking and dragging the screen to the same direction (left or right), then this script may be useful to you.
How to click and drag to Mouse Orbit in Unity
In many cases we need an ability to do Mouse Orbit in our Unity Game. Mouse Orbit means by moving your mouse you are orbiting a specific object to view it in different angles. I’ve found this script from this link: https://wiki.unity3d.com/index.php/MouseOrbitImproved By default, without clicking the screen you already orbiting your specific object. But…
Simple and easy PHP and Unity POST and GET http request tutorial
This tutorial is about simple and easy HTTP POST and GET request from Unity. Watch this video to see how it works: First, take a look this php program, you can test sending POST and GET request directly from web browser if you are running it on your localhost server.