Skip to content

ThirteeNov

My personal blog about coding and internet

  • My YouTube Channel
  • My GitHub Page
  • About me

Category: Unity

Simple script to set and change the skybox, fog and so on in Unity

April 19, 2025April 19, 2025 Habibie

In this article, we will discuss how to create a script in Unity that automatically applies several important settings when the game starts. This script will enable fog, change the skybox material, destroy objects with a specific tag, and spawn a prefab at a specified...

Optimizing Performance in Open-World Games: A Simple Unity Script for Enabling/Disabling Static Objects Based on Player Distance

April 19, 2025 Habibie

When developing large-scale open-world games, one of the biggest challenges is maintaining performance while creating a dynamic and immersive environment. One way to optimize game performance is by managing the number of objects that are active in the scene at any given time. In this...

A theory about how to make a game with huge map like GTA in Unity

April 3, 2025April 3, 2025 Habibie

Creating a huge game map with minimal memory usage and lag, similar to how GTA achieves its expansive worlds, involves a combination of optimization techniques, asset management, and intelligent world streaming. Here are key strategies to help you achieve this in Unity: 1. Level of...

Simple example how to interact with sqlite database in Unity and C#

March 29, 2025March 29, 2025 Habibie

Here is a script called SQLiteManager: Explanation: Make sure to import Mono.Data.Sqlite and add the SQLite package to your Unity project (sqlite3.dll for Windows, libsqlite3.so for Android if needed).

AdMob vs. Unity Ads: Which One is More Profitable for Monetizing Mobile Horror Games?

March 29, 2025 Habibie

Monetizing mobile games, especially in the horror genre, requires a well-thought-out strategy. Horror games often have a niche yet highly engaged audience, making ad monetization an essential revenue stream. Two of the most popular ad networks for mobile game developers are Google AdMob and Unity...

Unity C# Third Person Camera Occlusion Script

March 18, 2025March 18, 2025 Habibie

Here is a C# script for Unity that ensures a third-person camera moves closer to the player when an object obstructs the view. This script utilizes raycasting to detect occlusion and adjust the camera’s position accordingly. How It Works: You can adjust:

Minimum PC Hardware Requirements for a Smooth Unity Game Development Experience

March 18, 2025 Habibie

If you’re planning to develop a game using Unity, having a capable PC is essential for a smooth workflow, especially when it comes to resource-intensive processes like light baking. Unity’s Global Illumination (GI) system, particularly when using the Progressive Lightmapper, requires significant computational power to...

Very simple unity C# code to integrate Google Play Asset Bundle on runtime

March 17, 2025March 17, 2025 Habibie

Here’s a simple Unity C# script to load an AssetBundle from Google Play Asset Delivery at runtime. This example assumes you have already set up Google Play Asset Delivery in your Unity project and uploaded asset bundles to Google Play Console. Steps: C# Code for...

Unity random mesh spawner at certain position C# script

August 31, 2024August 31, 2024 Habibie

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

How to downgrade to Unity Ads version 4.4.2 ?

August 13, 2024August 13, 2024 Habibie

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

June 21, 2024June 22, 2024 Habibie

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

May 24, 2024May 29, 2024 Habibie

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

July 10, 2023July 10, 2023 Habibie

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

June 20, 2023June 23, 2023 Habibie

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

January 3, 2023 Habibie

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

November 29, 2022May 29, 2024 Habibie

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

November 29, 2022November 29, 2022 Habibie

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

November 6, 2022November 28, 2022 Habibie

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

October 30, 2022October 30, 2022 Habibie

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

September 13, 2022October 30, 2022 Habibie

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:

Posts pagination

1 2 3 … 6 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
  • Python
  • Uncategorized
  • Unity
  • WordPress

Recent Posts

  • How to delete all .meta (or any extensions) files in your folder with single click
  • Ciihuy Files Packer and Unpacker – Keep Your Files Neat, Packed, and Lightly Protected
  • Building a JavaScript ↔ C# Bridge with WebView2 in .NET 8
  • Web App Player by CiihuyCom – Turn Your Web App into a Windows Desktop App — No Coding Needed!
  • How to find large files that is used and referenced in your Unity project
Copyright © ThirteeNov

Minimalist Theme by WPVKP.