Skip to content

Instantly share code, notes, and snippets.

@peroon
Created October 13, 2018 14:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save peroon/e5450d95bf3ecedfa8e9f05917ff13b3 to your computer and use it in GitHub Desktop.
Save peroon/e5450d95bf3ecedfa8e9f05917ff13b3 to your computer and use it in GitHub Desktop.
void OnDrawGizmos()
{
#if UNITY_EDITOR
if (isDebug)
{
UnityEditor.Handles.Label(transform.position, state.ToString());
}
#endif
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment