Skip to content

ThirteeNov

Source Codes & Coding Tutorials

  • My YouTube Channel
  • My GitHub Page
  • About me

Category: Unity

How to add an engine sound to a car with respect to its speed in Unity

January 28, 2021January 28, 2021 Habibie

I made a pickup car with its wheel colliders and completely working. I can controll it to move by pressing arrow keys on my keyboard. The next thing I need to do is to add engine sound audio file to the car with respect to...

Flashlight On and Off Unity C# Script

January 27, 2021January 27, 2021 Habibie

This simple script can be used for switching on and off a flashlight in Unity. Add the spotlight on your flashlight to the reference slot in the script. Here is the script: Watch the video to see how to use this script: You can purchase...

Unity Camera Toggler C# Script

January 25, 2021January 25, 2021 Habibie

Are you working with more than one camera in your game? You can work with any amount of cameras and you can switch between them easily using this very simple C# script, I call it Unity Camera Toggler. Here is it: In this script I...

How to add touch screen steering wheel to your car/vehicle in Unity

January 13, 2021January 23, 2021 Habibie

In this tutorial I’m going to integrate the Touch Screen steering wheel that I already shared with you on my previous tutorial: https://www.youtube.com/watch?v=izeneTqhDC8 , to a car object. This car object of course has wheel collider and rigged properly. So if you did not watch...

Unity Touch Screen Steering Wheel Tutorial

January 13, 2021February 12, 2021 Habibie

I found a forum thread about Unity Touch Screen Steering Wheel, which you can see the link at the bottom of this post; there are two versions of script, I used the C# version here. First of all, on your Unity project, create a script...

How to load a video file from a url and play it in Unity

November 30, 2020January 25, 2021 Habibie

This script can help you to load a video file stored somewhere on internet. So by accessing its link, you can load and play it in Unity. This method can be useful to make minimal installation file size of your program, you don’t have to...

How to use equirectangular image in Unity to look around in 360 mode?

November 25, 2020December 1, 2020 Habibie

First, you need a shader file. Here is a shader code you can use to make shader file called InsideVisible: Then make a material, use your equirectangular panorama image in it. Then drag and drop the shader file to this material. Import a high poly...

Simple Unity Example to add, move, rotate and remove objects dynamically

November 14, 2020January 15, 2021 Habibie

In this Unity example project, you can have a Unity scene with some basic UIs to add a predefined objects stored on Resources folder to the scene, then click and drag the object to position it anywhere, rotate it left and right, and you can...

How to add a text at the center of HTML page

November 12, 2020January 15, 2021 Habibie

So many times I need to make an element, for example an image element, that appears exactly at the center of an HTML page. I did it, and here I share the code:

Click The Floor To Move – C# Script for your Unity games

November 7, 2020November 7, 2020 Habibie

I’ve made some simple script for easy floor click navigation system. Yeah, I don’t know how to name it properly, I just named it “Click the floor to move”. Basically the idea is when you click any area of the ground/floor, you can go to...

How to make a Unity WebGL page appears full screen?

October 28, 2020November 30, 2020 Habibie

I’m sure you tried to export your Unity game to a WebGL version to publish it online. But it does not appear full screen. Well, you can replace your index.html code with this, but do it at your own risk: And, hey, don’t forget you...

How to make texture chooser system in Unity

October 27, 2020October 27, 2020 Habibie

This is a demo scene of a Unity project that demonstrates how we can make a texture changing system. You can click one of those two objects inside the scene to show a texture changer interface, then you can select available textures to change the...

How to make automatic sliding door in Unity

October 24, 2020October 24, 2020 Habibie

I want to make an automatic sliding door in Unity. The idea is, there will be a door with a sensor area. If a player inside that sensor area, the door will open, and if the player left, the door closes. To make this thing...

Switching between Zoom In intro camera to the Main Camera in our Unity Game

October 20, 2020October 20, 2020 Habibie

Let’s say we have two cameras in our Unity game. First one is a camera that zooms in towards a player object at the beginning of the game, and the second one is the main camera. This tutorial will be about how to make a...

How to make a very simple Cutscene for your game in Unity

October 19, 2020October 19, 2020 Habibie

Let’s say you are building a race game, and you want to make a cutscene as transition between main menu and the race game itself, this video demonstrates how to make a such simple cutscene. Here I share the project file: https://drive.google.com/file/d/16Rp7opdnwe0iByu-GkL9Cj3ynDigq2Pi/view?usp=sharing

How to load texture from web on run time in Unity and apply it to an object

October 18, 2020October 18, 2020 Habibie

I have an idea to store texture files on web (on server) and then we allow users to load any textures available on web to apply to an object in Unity. So I experimented with this script: I placed a cube to the scene, also...

How to create Asset Bundles in Unity by script

October 17, 2020October 17, 2020 Habibie

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,...

How to load a Unity Asset Bunde file from web/url

October 17, 2020October 17, 2020 Habibie

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

October 16, 2020November 10, 2020 Habibie

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...

Strange experience with this Unity error: mapfileparser.sh permission denied

October 15, 2020October 15, 2020 Habibie

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...

Posts navigation

Previous 1 2 3 4 5 Next
ciihuy2020

Welcome!

  • My YouTube Channel
  • My GitHub Page
  • About me

Categories

  • 3DVista
  • Android
  • Apache
  • C#
  • Cordova
  • Electron & Node JS
  • HTML5, CSS & JavaScript
  • iOS
  • Let's Make Unity Games
  • Misc
  • Photoshop
  • PHP
  • Unity
  • WordPress

Recent Posts

  • Unity lens flare is not working, what should I do?
  • Be careful with malicious script attacking WordPress sites
  • Useful JavaScript snippet when you are watching YT Videos
  • Some C# methods to write and read files, creating a folder and listing files inside it
  • Introducing UniCipher : encrypt your playerprefs and any string to make them unreadable
  • Unity navigation tabs tutorial
  • 2D Object Movement Touchpad Script for Unity
  • PHP JSON to Unity C# and Vice Versa
  • How to check whether the device is connected to internet or not in Unity
  • Unity Useful Snippets
  • How to click and detect an object in Unity3D?
  • How to remove all thumbnails from wordpress posts
  • How to find duplicated words in Notepad++
  • How to play any YouTube video dynamically using YouTube iFrame API + autoplay on mobile devices
Copyright © ThirteeNov

Minimalist Theme by WPVKP.