What if I want to clear PlayerPrefs with a single click instead of a executing a script? What if I want to edit the Rigidbody Component? Unity Editor is flexible enough to allow you you extend it. That is to say,…
Ever stuck on how to render a video on a TV screen in a game? Lets us learn the concept of playing a video in Unity. You can import many different formats of video file into Unity. Unity stores such…
Delegate is a famous way to implement Callbacks in C#. Action is one such generic delegate type. Action Callbacks can be very handy in Unity programming. Let us learn how to use Action Callback in Unity. What is an Action? Action…
Kids games are quite popular these days. And maths is a subject that a student normally fears. How about creating a math game for kids in Unity? It would be learning in a fun way. Let us see a simple…
In the previous parts, we learned the basics of Coroutines in Unity and some interesting facts about them. In this part, we will learn when we can use coroutines in Unity. Downloading data from the server When you are downloading…
In the previous part, we learnt about the basics of coroutines in Unity. Let us now learn some important and interesting points regarding Coroutines. Effect of Disabling an object on Coroutines in Unity: Disabling a gameobject, i.e. using SetActive(false) stops…
As per Unity docs, a coroutine is a function that can suspend its execution (yield) until the given YieldInstruction finishes. In other words, coroutines in Unity work like normal functions till they encounter a YieldInstruction. At this point, the coroutine…
Have a .xml file that needs parsing in unity? Let us learn what is an xml file and how you can parse xml in unity3d. What is an Xml? XML stands for eXtensible Markup Language. It is a software- and…
We all must have played games in which we need lives to continue playing. Some of these games include Candy Crush Saga, Candy Crush Soda and so on. Every unity developer would have made; or would need to make a…
It is very important for a Unity Developer to have a sound understanding of Time.deltaTime. Let us learn the basics of Time.deltaTime in Unity3D with some examples. What is Time.deltaTime? Time.deltaTime is the completion time in seconds since the last…