Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@scottaddie
Last active January 30, 2017 03:42
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 scottaddie/a93de8d1e817e617c3ee9d0e8814b8b3 to your computer and use it in GitHub Desktop.
Save scottaddie/a93de8d1e817e617c3ee9d0e8814b8b3 to your computer and use it in GitHub Desktop.
Retrieve the custom HandContext object
// Fetch the context, so that we can get the player name to display the appropriate image
var handContext = (HandContext)context.Items[typeof(HandTagHelper)];
var playerName = handContext.Player;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment