Created
July 14, 2014 12:40
-
-
Save Tak/a9ccb6cdae6c0114072f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Conditional ("DEBUG")] | |
void SmoMoAssert (bool condition, string messageFormat, params object[] messageParams) | |
{ | |
if (!condition) | |
Debug.LogError ("Assertion failed: " + string.Format (messageFormat, messageParams)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment