The C# UnityEngine.Object.DestroyImmediate is a method in the Unity game development platform's scripting API. It is used to immediately destroy a specified object in the game scene. Unlike the regular Destroy method, DestroyImmediate destroys the object synchronously and immediately without waiting for the next frame update. This can be useful in certain situations where immediate removal of an object is necessary, such as in editor scripts or when dealing with large numbers of objects.
C# (CSharp) UnityEngine Object.DestroyImmediate - 30 examples found. These are the top rated real world C# (CSharp) examples of UnityEngine.Object.DestroyImmediate extracted from open source projects. You can rate examples to help us improve the quality of examples.