Hot answers tagged

4

The TextMesh component (or its superior alternative TextMeshPro) is perfectly fine if a naked text is all your want to show. That's what it's for. But a world-space canvas has benefits when you have more than one UI-element to attach to an object. Like, for example, a panel with a border and a background which contains the name, a health bar and a couple ...


1

I think you are looking for coroutines. A coroutine is a method which can interrupt itself using the yield return statement in order to be later resumed on another frame. This is useful when you have sequences of actions you want to perform within pauses between them instead of all at once. This example will log "1", "2", and "3"...


1

I don't see any issues with your ball movement. The shadow is bumpy. Shadow maps are textures with pixels, but smoothing is applied so that low resolution shadows don't appear pixelated. However, the shadows in the shadow map can still only move one pixel at a time. When the resolution is low, the pixels are large and the shadow motion will appear jumpy. ...


1

There are likely some bugs because it is a new feature C# - the language - is well supported. Also, a lot of effort have gone into supporting ahead of time compiling, which allows greater platform support than it would have otherwise. However: Some .NET libraries may cause trouble (mainly related to threading and reflection). It is not well integrated into ...


Only top voted, non community-wiki answers of a minimum length are eligible