web analytics

Tagged: script


How to use C# Enum in Unity

In C# enums are there own types , just like classes .Enums are strongly typed constants. So you can only declare them in global scope or within a class scope. Enum makes things easier...


Singleton Pattern in C#

Unity Singleton Pattern  I’m pretty sure you must have heard of it a lot , both good and bad  .  For newbies  , singleton is a design pattern that restricts the Instantiation of a...


XML Comments in C#

Use XML Comments in C# to make your code more understandable, it can make your life a little easier . We all know how important it is to comment our code , it helps...