Relative Content

Tag Archive for c#unity-game-engineunityscript

Unity game development camera controls

I am working to create a third person camera controls in unity.
every thing working fine, but on first drag my camera snaps its rotation suddenly, after that it works smoothly untill pointer up event. then after next pointer down on drag it snaps again.
Can any one help on this.
below is my code.

Unity 2D game C# Script issue

enter image description heremy c# script has some problem player can moving and show run, jump,attack animation but when i walk forward player doesn’t show run,attack,jump animation .

C# Access Modifier Scopes

I have following block of code, where I have multiple instances of Class Lane. I want to compare 2 Objects and check if there is space or not.