Blog about programming, Unity3D, game development, Game-engines, c#, AI, Drones & CS researches.
Learn Unity3d - How To Series
Unity3d How To Series Video Tutorials:
3DWalker - 3D Environment explorer for Unity3d Projects
Unity3d is one of the most popular game-engine use for game development, simulation, training and architecture visualizations.
In most 3D projects, specially related to architecture, simulation and training, we require feasible, friendly, effective and robust methods to navigate in the 3D environment. In unity, we use cameras for rendering and exploring 3D world and usually navigate camera in order to show or explore the 3D environment. Conventionally, we develop and use different kind of cameras like Fly camera, Walk camera, Orbit Camera, Point Camera etc. These camera are use to watch and navigate 3D projects.Unity Tips and Tricks (Editor, Performance, Build Tips and Tricks) Part IV
Unity Editor Tips and Tricks
Easter weekend side project: a tabbed inspector for Unity! It wastes much less screen real-estate inside the layout. #unitytips #madewithunity pic.twitter.com/brRcQxGEnh
— Lazlo (@lazlobon) April 5, 2021
Unity Kids, Remember to cull your animators #unity3d #unitytipshttps://t.co/jTK3vPboUT pic.twitter.com/hLGobJDl6M
— Oddur Magnusson (@oddur) June 15, 2021
Since Unity 2020 (I think!) exists something called Focused Inspectors: open as many inspectors as you want by right-clicking a group of GameObjects and/or Assets then selecting "Properties"! ๐ฅณhttps://t.co/oUiGOo6jDj@unity3d #unitytips #gamedev pic.twitter.com/71UPU4EHXV
— David ๐ฎ๐๐ (@drnlab) June 15, 2021
As far as #unitytips go this ain't flashy, but is one of my all-time faves
— Temmy (@Hi_ImTemmy) June 9, 2021
Empty game objects. The problem? They're invisible. Easy to forget and lose in the scene view. Oh no!
The answer? Give them an icon. Your life will be a million times better and so will mine thankyou pic.twitter.com/yf1FZM0X97
ICYMI In @unity3d you can easily predict the trajectory of an object simulating the Physics.
— ToughNutToCrack (@tntcproject) November 2, 2020
If you are interested: https://t.co/hHUODTGFnx#gamedev #unitytips #tntc #unity3d pic.twitter.com/93eiBqDdn6
#unitytips : When looking for that invisible trigger or annoying collision...๐
— Alex Strook ๐ป (@AlexStrook) December 10, 2020
Windows > Analysis > Physic debugger... So useful!! pic.twitter.com/Sl2ONfFgrT
You can view the content of multiple folders at the same time by highlighting both of them and then press enter #unitytips #gamedev pic.twitter.com/XNKqrmCH7g— Fer (@theferfactor) January 22, 2019
C# interfaces can be tricky in @unity3d since an interface reference will NOT be null even if the Object is destroyed.
— Luke Thompson (@six_ways) November 17, 2020
Use this base interface + extension method trick to make it easy! #unitytips #gamedev #indiedev #madewithunity pic.twitter.com/6CXOcgPNA1
Today's post will be about #unitytips, I use ctrl+shift shortcut quite a lot when designing a level, it enables auto snapping of a dragged object to other objects and terrain, it save a lot of time previously spent on a placement.#gamedev #indiedev pic.twitter.com/L3zyFRpxvb— The Serpent Rogue (@TheSerpentRogue) May 1, 2019
Also new in Unity 2019.3 is this cool new column in the hierachy enabling/diabling object picking. ITS SO GOSHING HELPFUL #UnityTips pic.twitter.com/F5DPQ1kfEQ— Lotte 'just an idiot' May ๐๐๐๐น๐ฎ☕๐ซ๐ฉ (@LotteMakesStuff) August 21, 2019
Want to improve your project navigation workflow? #unitytips Try using (custom) labels and reduce the time wasted looking for related asset files! #gamedev #indiedev #madewithunity pic.twitter.com/GhdOq4SfTA— Vectronom | Ludopium (@ludopium) August 13, 2019
Hit Play, then... wait. Sound familiar?— UnityDocs (@UnityDocs) November 26, 2019
There's a new "Configurable Enter Play Mode" feature in 2019.3 which can massively reduce the time you wait.
But there are some important things to note if you use it! Read the docs here:https://t.co/jq2m4qcHC0#unitytips pic.twitter.com/gODeX4w6kI
Want to improve your #unity3d editor? Take a look at these #unitytips:— Diego Giacomelli (@ogiacomelli) January 7, 2020
Hierarchy Window Group Headerhttps://t.co/2bqelTsh2F
Hierarchy Window GameObject Iconhttps://t.co/BCj2l3vAug
Hierarchy Window Layer Infohttps://t.co/ofrHu8FoJR
Gist Importerhttps://t.co/um2eYFRnsk pic.twitter.com/cOhP4OeyiM
We like to use several layers in Unity for our environments so that we can easily toggle walls, floors, ceilings and more on and off while we're building levels. #madewithunity #unitytips #gamedev pic.twitter.com/7XpUGSzt1I— Team Stallion (@TheTeamStallion) January 7, 2020
.@unity3d just a beginners tip to change the cursor in game mode here is a clip #unity3d #unity2d #UnityTips pic.twitter.com/i20Cw48lRP— Jackhammer Games (@ArnavBajaj9) January 9, 2020
Organize your prefabs from all over your asset folders into custom Favorites, using labels ("l:[label]")! #unitytips #gamedev #Pine pic.twitter.com/KCEqQxy6oU— Twirlbound (@Twirlbound) September 26, 2017
Want 2 Inspectors open in #Unity3d? Select asset & lock 1st inspector. Add a 2nd inspector by adding a new tab in an open panel! #unitytips pic.twitter.com/eQCRXuoK8J— WaggleWords (@WaggleWords) September 26, 2017
Use animation events to call a function at a specific point during your animation.#unitytips #gamedev #indiedev #madewithunity pic.twitter.com/hvnDpTZ2cM— Hjalte Tagmose (@hjaltetagmose) September 26, 2017
You can do this! #unitytips pic.twitter.com/ETRQZQao0P— Raul S. Sorban (@raulssorban) September 28, 2017
Performance/Optimzation Tips and Tricks
You can optimize your audio clips by following the rules below in its import settings: #unitytips #unity3d— David Lรณpez (@_davidlopez29) April 15, 2020
-Frequently sounds : Decompress on Load
-Periodical or special sounds: Compressed In Memory
-Background: Streaming pic.twitter.com/2kseFUFL4p
One thing i figured out to reduce the iOS App size of a unity game, is to set the compression to LZ4HC in the build setting, are there any other tips on reducing the app size? #unity #unitytips #IndieGameDev pic.twitter.com/DIpVgnfHif— fleischshake (@fleischshake) April 17, 2020
To improve performance and reduce draw calls, try to use GPU Instancing if possible. It optimises copies of the same Mesh, useful for repeating objects like grass, but allows for different parameters so doesn't have to look identical.https://t.co/TQXwrwUwMD#unitytips #unity3d— keyboardP (@keyboardP) January 3, 2020
Profile 1st— Mohammad Faizan Khan (@voiceoffaizan) September 29, 2017
Don't spend time trying to optimize some obscure code or reducing the size of a texture unless u knw its a bottleneck#UnityTips
Profile again, n aftr applying ur optimizations 2 see if they had the intended effect. this might uncover more bottlenecks#UnityTips https://t.co/MYmHJU5Jl9— Mohammad Faizan Khan (@voiceoffaizan) September 29, 2017
Old but Gold: Edit the collision matrix to save performance in a game with physics!#unitytips #madewithunity #unity3d #gamedev #indiedev pic.twitter.com/RdxPew1pJm— LeadFollow Games (@LeadFollowGame) September 19, 2017
Unity Build Tips
#UnityTips reduce the size of your build by identifying the large files in the Editor Log (Window>Console>OpenEditorLog) #GameDev #IndieDev pic.twitter.com/Jxyhe51Ykg— Nicoplv (@nicoplv) September 12, 2017
See Also:#unitytips unity remote just wont work with iOS even if everything is connected? make sure you have the iOS build module loaded! pic.twitter.com/10GIsamM94— KevKev (@Der_Kevin) September 12, 2017
Unity Tips and Tricks (Unity Coding Tips and Tricks) Part III
Unity3d Coding Tips and Tricks
Let's talk about @unity3d, and the execution order of its event functions—such as ๐๐๐๐๐ and ๐๐๐๐๐๐.
— Alan Zucconi (@AlanZucconi) March 8, 2021
Trust me when I say that ...IT'S WAY MORE COMPLICATED THAN YOU THINK. ๐ฌ#gamedev #unitytips #madewithunity
๐งต๐ pic.twitter.com/jTcX0lp15R
With the latest @unity 2020 LTS you can use some of the new features in C# 8.0! One of my favorites is a switch expression which greatly reduces the syntax required. It's not a full replacement for switch statements but works well for linking data together. #UnityTips pic.twitter.com/tAB3mxfxvN
— Dan Miller (@DanMillerDev) May 11, 2021
If you want to destroy an object in @unity3d, but want to wait a few seconds, you can insert a delay as a second optional parameter.#TipTuesday #TopTips #unitytips pic.twitter.com/mTY646t72F
— Gordon Arber (@GordonArber) June 15, 2021
Found a nice property attribute that labels array elements by enum names. This is going to be very useful, no more need to make get methods or dicts as I typically would when I want to map data to enum. Added it to my utils repo: https://t.co/7noj6Ly9l0 #unitytips #madewithunity pic.twitter.com/uN7GRnO7uy
— ๐ท Ivan ๐ฒ๐️๐จ๐ฒ (@Nothke) June 9, 2021
Did you know Debug.LogException() in try..catch will navigate right to the proper line which caused the exception (while other Debug.Log* methods will navigate to themselves)?#unitytips #unity3d pic.twitter.com/01Mys6nDXf
— Dmitriy Yukhanov (@dmitriy_focus) June 15, 2021
#UnityTips Of course it is very good to know how to get from degree to radians ( rad = deg * PI / 180 )
— Binary Impact (@BinaryImpactG) October 27, 2020
But you could also use one of the constants from the Mathf library ( Mathf.Deg2Rad )#gamedev #indiedev pic.twitter.com/27zdWocZVH
#UnityTips You can use extension methods to add functionality specific to a particular enum type.
In our example we use an enum to define neighbors on a square tiled board. And we add quality of life methods to the enumeration.#csharp #indiedev #gamedev pic.twitter.com/yUq6s6Vms7
Unity Tips and Tricks Part I
Want some collection of unity tips and tricks, here we go:
Particle System
When you select a particle system, you can drag the "playback time" field.
Very handy to fine-tune them!#UnityTips #Unity3D #GameDev pic.twitter.com/9tp2Ur6bqv
— Sรฉbastien Dubois (@GFX47) September 26, 2017
Very handy to fine-tune them!#UnityTips #Unity3D #GameDev pic.twitter.com/9tp2Ur6bqv
Organizing prefab
Organize your prefabs from all over your asset folders into custom Favorites, using labels ("l:[label]")! #unitytips #gamedev #Pine pic.twitter.com/KCEqQxy6oU— Twirlbound (@Twirlbound) September 26, 2017
Animation Trick
Use animation events to call a function at a specific point during your animation.#unitytips #gamedev #indiedev #madewithunity pic.twitter.com/hvnDpTZ2cM— Hjalte Tagmose (@hjaltetagmose) September 26, 2017
Context Menu and Custom Classes
#unitytips You can add custom items to context menu, even for built-in classes, by using [MenuItem("CONTEXT/...")]#madewithunity #gamedev pic.twitter.com/r6wxcQwt4b
— Yannick Gero (@YannickGero) September 19, 2017
Component Drag and Drop
It was only now that I realized drag and drop reordering of components is finally here. #unitytips pic.twitter.com/IHdnpXbk8v
— Stephan Hรถvelbrinks (@talecrafter) September 22, 2017
Two Inspector
Want 2 Inspectors open in #Unity3d? Select asset & lock 1st inspector. Add a 2nd inspector by adding a new tab in an open panel! #unitytips pic.twitter.com/eQCRXuoK8J— WaggleWords (@WaggleWords) September 26, 2017
Viewports on Touch
You can minimize and maximize viewports in Unity using touchpad gestures. Works for every panel, not just scene view! #UnityTips @unity3d pic.twitter.com/7DOjTNRFJh— Ryan Miller (@RyanThinker) September 26, 2017
Tired of remove/add components just for reorder the hierarchy?#UnityTips #unity3d #madewithunity pic.twitter.com/K6xzT9P5Xo— gyd (@kingterrygyd) September 27, 2017
Replace Built-inComponents with lossing settings
Use the Debug inspector to replace built-in Components without losing their settings (can be done in bulk!) #unitytips #unity3d #gamedev pic.twitter.com/wWnYJb0NLh— Jacob Schieck (@jakerooskii) September 26, 2017
Unity Coding tricks
If you want a private variable to show up in the Inspector use the [SerializeField] attribute. #gamedev #igdev #unity3d #unitytips #indiedev— Abhinav Demkeys (@abhinav_Demkeys) September 14, 2017
Scene Organization
This is one of the most organised hierarchies I've ever created ??
(tip: the "-----" divider objs are tagged EditorOnly!)#unity3d #unitytips pic.twitter.com/w7lwzAWOJ3
— Ciro Continisio ? (@CiroContns) August 27, 2017
(tip: the "-----" divider objs are tagged EditorOnly!)#unity3d #unitytips pic.twitter.com/w7lwzAWOJ3
Unity iOS Remote
#unitytips unity remote just wont work with iOS even if everything is connected? make sure you have the iOS build module loaded! pic.twitter.com/10GIsamM94— KevKev (@Der_Kevin) September 12, 2017
Follow Object In Scene
Double tap the "F" key to automatically follow around your selection in Unity Editor scene view! #UnityTips @unity3d @ReptoidGames pic.twitter.com/aYP8wm19Cx
— Ryan Miller (@RyanThinker) September 12, 2017
Data Saving Techniques for Unity3d Application
1. Platform-independent:
One way of saving data in Unity3D in a Platform-independent way is to use the PlayerPrefs class.Here is the example to set a string and later get it through PlayerPrefs class.

Where the Data Store? Here is the chart:
Platform
|
Data stored at
|
Windows
|
Registry
under HKCU\Software\[company name]\[product name] key
|
macOS
|
~/Library/Preferences
folder, in a file named unity.[company name].[product name].plist,
|
Win Phone 8
|
application's
local folder
|
WebGL
|
browser's
IndexedDB
|
Linux
|
~/.config/unity3d/[CompanyName]/[ProductName]
|
Android
|
/data/data/pkg-name/shared_prefs/pkg-name.xml
|
* company
and product names are the names set up in Project Settings
|
Reference Links:
2. Server Side:
You can also use a Server for saving data (like a combination of PHP
and MySQL Database). You can use it to save Score Data, user profile, etc.,
Learn More From Unity WikiYou can also use third party solution like back4App and firebase.
3. Embedded Database:
SQLite (an embedded database for
your app) is another great option for you get the Free Package, it is simple and easy (and my favorite) if
you know SQL.Unity3d Training and Certification in Pakistan
In talking with members in the Unity community, one of the common, recurring themes we have encountered is a need for a way to reliably assess an individual’s Unity knowledge and skills against a benchmark of proficiency.
In an effort to respond to all of these needs, we developed the Unity Certification Program, and at GDC 2016 we were thrilled to announce that the first level, Unity Certified Developer, is now available!
| "We are proud to announce our first Authorized Training Center in Pakistan: Center for Enterprise and Technology Advancement (CETA). You can now learn and get certified all at the same place!" |
Now congrats for all Unity fans in Pakistan, CETA is giving Game Development Training in collaboration with Unity for the first time in Pakistan. Remember, its certification valid only for 2 years but it is expected that it will teach you a lot as its course-ware seems comprehensive.






