Executing Custom Scripts from Unity’s Menu
Executing Custom Scripts from Unity’s Menu
You can do wonderful things with your Unity editor via scripting. For instance, you can write a script to populate your scene with random objects. All you need is a method...
Hold the Alt button to expand or collapse the Hierarchy
Hold the Alt button to expand or collapse the Hierarchy
Did you know that by holding the Alt button while clicking on Hierarchy or Project window arrows you can completely expand or collapse its contents? It can be especially...
Using the Unity Cache Server
Using the Unity Cache Server
If you're working on a medium or big project then you may get into a situation when pulling your project from the repository (or switching to a different...
UnityToolbag – Library Overview
UnityToolbag – Library Overview
One of the greatest powers of the Unity is extensibility. You can see this especially by looking at the Asset Store. There's plenty of scripts that will extend your Unity...
You can search your scene objects by component’s type
You can search your scene objects by component’s type
Did you know that besides searching your Hierarchy window by object name you can actually filter your scene objects by component names they have?
As you already know,...
Profiling Unity Application with Profiler Samples
Profiling Unity Application with Profiler Samples
The Unity Profiler Samples is something that most of Unity users are unaware of. Yet it can be extremely helpful if you want to find out what amount of resources your...
You can switch your Inspector into the debug mode
You can switch your Inspector into the debug mode
Unity Inspector is extremely useful tool when it comes to tuning up your game objects and components. By default, the inspector is displaying only public and serializable...
You can restore unsaved scene after Unity crash
You can restore unsaved scene after Unity crash
Unity as any other software out there may crash from time to time. It's not a big deal unless the last time you saved your scene file was somewhere near your lunch and...
Use Invoke methods to execute code at a given time
Use Invoke methods to execute code at a given time
What if you need to invoke a specific code in 2 seconds? You can write an accumulator that counts time, use coroutine to wait for 2 seconds or simply use Invoke or InvokeRepeating...
Custom gizmos with OnDrawGizmos
Custom gizmos with OnDrawGizmos
Did you know that by implementing OnDrawGizmos() method in your scripts you can draw a custom gizmo?
Last time we talked about how to use icons' settings to assign...