Graphics, Programming, Unity, Tutorial, Technology.
is defined, using the defined function. A keyword is defined when it is enabled, and it is not defined if its disabled. There’s a shortcut for this: #ifdef. Keep in mind that there is not an #elifdef for whatever reason, so I use the entire defined syntax for clarity sometimes. Anyway, use an