↧
Why does this timer not work?
private var currentTime = 0; function Update (){ if (Input.GetAxis("Fire3")){ currentTime = currentTime + Time.deltaTime; } Debug.Log(currentTime); }
View ArticleA few C# problems.
Below are two scripts, one for summoning a projectile (goes on the gun), and the other for collisions which goes on the projectile. The first problem is "Cannot cast from source type to destination...
View Article