You can use SendMessage(DestroyGameObject,,yourObject) then the gameobject yourObject must have a script with a method DestroyGameObject like this:
https://docs.unity3d.com/ScriptReferenc ... stroy.html
This destroy the gameobject, you cannot recovery it
Search found 1 match
- Sat Mar 31, 2018 9:05 am
- Forum: Dialogue System for Unity
- Topic: Destroying an NPC Object Within Conversation [Solved]
- Replies: 5
- Views: 697