API reference
API reference
Select your platform
No SDKs available
No versions available

UnityObjectExtensions Class

Static Member Functions

Properly determines whether to use DestroyImmediate or Destroy dependent on the current state of the Editor.
Attempts to obtain a component and adds it if it does not already exist
Did you find this page helpful?
Thumbs up icon
Thumbs down icon