Skip to content

Instantly share code, notes, and snippets.

@kirevdokimov
Last active August 24, 2017 10:35
Show Gist options
  • Save kirevdokimov/079e4438f7bb3960d20cdf8b84bec9b3 to your computer and use it in GitHub Desktop.
Save kirevdokimov/079e4438f7bb3960d20cdf8b84bec9b3 to your computer and use it in GitHub Desktop.
Add this attribute to a method to get a notification after scripts have been reloaded. Recompile, recompilation, DidReloadScripts
[DidReloadScripts] //Add this attribute to a method to get a notification after scripts have been reloaded.
static void A(){
Debug.Log("Hello");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment