TextMesh Pro confusion with ammo counter
Ferrum Cerebrum » Devlog
Author: Aaronn Solomon
11/3/2023
The Problem
I was attempting to create an ammunition counter for the player's mech. I decided to use a TextMesh Pro object to do this. However, when I tried to place the object under the screen object in the hierarchy, it created a canvas along with it. I was quite confused, and I obviously didn't want to make an entire canvas just for that.
The Solution
As it turns out, I was creating the wrong type of TMP object. What I actually had to do was create a 3D object that was labeled as a TMP, instead of a straight-up TMP object. Thankfully, this fixed the issue, and the canvas was not added to the hierarchy like before.
Ferrum Cerebrum
Two bodies. One mind.
Status | Prototype |
Author | GoldMoonStudio |
Genre | Shooter, Action |
Tags | Mechs, Virtual Reality (VR) |
More posts
- Pictures disappeared after building projectJan 29, 2024
- Frustration with images and spritesJan 24, 2024
- Volume value was uselessJan 19, 2024
- Recovering from being sickJan 17, 2024
- Respawning after changing loadout problemDec 13, 2023
- Game over and pause menu conflictDec 08, 2023
- HUD window transparency issueDec 01, 2023
- Health component confusionNov 24, 2023
- Credits animation confusionNov 17, 2023
- Level select brokenNov 09, 2023