Question by
Opalnote · Nov 26, 2017 at 05:00 PM ·
preprocessor
Preprocessor symbol for Linux headless mode
What is the proper way to define a preprocessor symbol for Linux Headless mode? Specifically, we'd like to segment off code that will only compile if we're doing a Linux headless mode build. If that's not possible, what is the next best way to achieve a similar result? Thanks!
Comment
Your answer
Follow this Question
Related Questions
When using preprocessors, Unity throws errors 1 Answer
AssetsPostProcessor change target folder 0 Answers
How do I compile different builds of the same project using compile flags in Unity? 0 Answers
Is there a simple #if UNITY? 1 Answer
Disabling tessellation in a shader using material properties 0 Answers