Search ExpertsHow it works
Notifications
How to delete a character from a list (on death)
Date: December 22, 2018Session Time: 29 mins
Answered by Darren Delorme
Generalist, Artist, Programmer
5
26 Sessions
USD $1 /min
Return to Top Questions
Question Detail
Hello! I have a list of characters that are managed by a parent gameobject with script. I am trying to find a way to remove all the dead characters from my list at the start of every scene. To do this I am attempting to use another list that contains the names of the dead characters. Thank you!
C#
Game Object
generic list
Unity Version: 2018.2