Extends various Unity classes.

namespace Sirenix.Utilities
public static class UnityExtensions


Namespace: Sirenix.Utilities
Assembly: Sirenix.OdinInspector

Extension Methods

Return Type Definition Description
bool SafeIsUnityNull(this Object) Determines whether a Unity object is null or "fake null", without ever calling Unity's own equality operators. This method is useful for checking if a Unity object is null, destroyed or missing at times when it is not allowed to call Unity's own equality operators, for example when not running on the main thread.