Publisher | Smooth Tools |
---|---|
File size | 70.95kB |
Number of files | 18 |
Latest version | 1.0.59 |
Latest release date | 2024-02-09 07:52:15 |
First release date | 2024-02-09 07:52:15 |
Supported Unity versions | 2018.4.2 or higher |
Smooth Operator is a Unity extension that allows the use of the null conditional operator (?. also called the Elvis operator) and the null coalescing operator (??) on Unity GameObjects. No missing reference exceptions!
By default the ?. and ?? operators are not safe to use on Unity objects, as they may throw missing reference exceptions. Smooth Operator allows the safe use of these operators with no exceptions thrown.
Simply add the extension from the Unity Asset Store and import the package into your project, Smooth Operator will handle the rest, with no configuration needed.