- Home /
Question by
gwapokeem · Feb 04, 2018 at 03:09 AM ·
instantiatetextcanvas
How to make a text appear on the top of enemy's body after an enemy dies?
Good day! I have finished following the tutorials in survival shooter. Now what I want is to insert a text saying "enemy died" whenever an enemy dies. And this text should appear on the top of the enemy's body. I am using C#. Thank you.
Comment
Answer by KittenSnipes · Feb 04, 2018 at 02:56 PM
Well it is as easy as getting the enemies last position and instantiating the object at that point when the enemies health hits 0 and you might want to Destroy it after or do some form of making it disappear. Cheers
Your answer
![](https://koobas.hobune.stream/wayback/20220612151905im_/https://answers.unity.com/themes/thub/images/avi.jpg)