blog of knowledge
Custom gizmos with OnDrawGizmos
IntermediateTips
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...
Piotr Korzuszek
0
Use icons to see invisible object on scene
BasicsTips
Your game scene may consist of objects that are visible on your scene view (like mesh) and objects that are not visible there (like script holders). You may find yourself...
Piotr Korzuszek
0
Use CustomEditor to customize your script inspector
AdvancedTips
When your scripts are getting bigger, then usually the number of properties is greater too. Unity, by default, is using the most generic way to display these properties...
Piotr Korzuszek
1
Use decorator drawers to improve inspector view of your scripts
IntermediateTips
If you're writing a custom script then most probably you want to manipulate its public field values from the Inspector. By default, the Inspector fields are placed next...
Piotr Korzuszek
0
Use Debug.Break() to pause Unity editor from the code
IntermediateTips
You can pause your game from the editor any time you want. But did you know that you can trigger the pause from the code based on some condition? There's a console...
Piotr Korzuszek
1
Use unitypackage files to share part of your project
BasicsTips
Did you know that there's an easier way to share your Unity project files than zipping it all into a single archive? Check the unitypackage file format! Unitypackage is...
Piotr Korzuszek
0
ExecuteInEditMode will run your script in edit mode
AdvancedTips
You might be familiar with the workflow that all of your game scripts are working only when you hit the Play button. Did you know that you can force some scripts to...
Piotr Korzuszek
0
Console log can show you which object is the creator
IntermediateTips
Most probably you already know about Debug.Log() function and its variations, but did you know that you can use it to find a particular object on the scene? Why would...
Piotr Korzuszek
1
Hold the Ctrl key to snap objects to the grid
BasicsTips
Did you know that when you hold the Ctrl key in the Scene view while moving the object its position will snap to the grid? [gfycat data_id="DazzlingCautiousAfricanjacana"] You...
Piotr Korzuszek
0
1 5 6
Call The Knights!
We are here for you.
Please contact us with regards to a Unity project below.



The Knights appreciate your decision!
Expect the first news soon!
hire us!