How to generate build or compile time errors?
Hello,
I have an API which allows our users to create Unity content which communicates with our wireless product.
If I add functionality for assigning a function to be invoked upon successful transmission of a wireless message, then is there a way for me to warn the user if they attach a callback when the message type does not support confirmation. IE critical messages for the state of the apps will utilize these callbacks, but other non-critical messages will be "not delivery guaranteed and without confirmation."
I can think of ways to avoid having to do this, but I'm really interested in knowing if I can generate my own compiler (build?) warnings like this.
Your answer
Follow this Question
Related Questions
Can I still use the obsolete APIs? 1 Answer
compiler errors - empty console new empty scene! 0 Answers
I have no idea how to fix a "pragma strict error : unrecognized pragma directive" error. 1 Answer
Exclamation marks with NO comment 0 Answers
AnimatedPropertyUtility.cs' is a binary file instead of a text file When Im creating new project 1 Answer