Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
What's the difference between destroyDestroy() and activeSetActive(false)?
I readingread about unityboth methods in Unity and wantwanted to ask about which iswas the best destroyin efficiency : destroying the object or deactivate whatdeactivating it. What is the performance difference?
difference between destroy and active?
I reading about unity and want to ask about which is the best destroy the object or deactivate what is the performance?
What's the difference between Destroy() and SetActive(false)?
I read about both methods in Unity and wanted to ask about which was the best in efficiency : destroying the object or deactivating it. What is the performance difference?