Must have Unity plugins

Here is a list of amazing Unity plugins you probably want to use for game dev:

For those who missed – The Unity cache server is free now! You have to use it!

Why do I need it?

If you are building game or app for several platforms, then you already know how long platform switch could take time. And how is annoying to wait when it ends!

If your project is for single platform – feel free to bookmark this post for later and come back when you be ready to dive into cross platform development 😉

Continue reading “For those who missed – The Unity cache server is free now! You have to use it!”

Unity editor extensions – the power of OnValidate

I need to validate some data!

Everybody knows that most of editor scripts you created, will be used by people like level designers and game designers. It’s always a good idea to put extra checking to what data they enter while building the scene. They shouldn’t care about values limitations but you have to! 😉

I found a OnValidate function as one of the best ways to validate input data.

How to use OnValidate?

There is only a short description on unity site about OnValidate function and no examples.

In the nutshell – OnValidate function is called in editor mode only on the following cases:

  • once script loaded;
  • if any value is changed in inspector.

Here’s how to use it in the script:

Continue reading “Unity editor extensions – the power of OnValidate”