Answers for "why do i get errors when prefab deleted"

C#
1

How do i destroy a prefab without the error?

//You could try making a copy

public GameObject example;


GameObject exampleCopy = example
Instantiate(exampleCopy, //wherever you want)
Destroy(exampleCopy)
Posted by: Guest on February-16-2020

Code answers related to "why do i get errors when prefab deleted"

C# Answers by Framework

Browse Popular Code Answers by Language