Skip to content

Instantly share code, notes, and snippets.

@neon-izm
Last active April 10, 2017 13:33
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 neon-izm/610cdab03a587bd2c18066afaf4a9bea to your computer and use it in GitHub Desktop.
Save neon-izm/610cdab03a587bd2c18066afaf4a9bea to your computer and use it in GitHub Desktop.
UNET Unofficial Documentation (Errors, Workarounds, Best Practices) ref: http://qiita.com/neon-izm/items/8b98d8fbf590b31c72ef
// for the official things
[SyncListString(hook="MyHook")] SyncListString mylist;
void MyHook(SyncListString.Operation op, int index) {
// do things
}
// for custom structs
[SyncListString(hook="MyHook")] SyncListStructCustom mylist;
void MyHook(SyncListStructCustom.Operation op, int index) {
// do things
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment