Skip to content

Instantly share code, notes, and snippets.

@JCaraballo113
Last active March 13, 2016 02:49
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 JCaraballo113/17cfd3ef16fcf0d8e200 to your computer and use it in GitHub Desktop.
Save JCaraballo113/17cfd3ef16fcf0d8e200 to your computer and use it in GitHub Desktop.
APawn* myCobraDude = Cast<MyCobraClass>(GetWorld()->GetFirstPlayerController()->GetPawn());
if (myCobraDude){
// get the bool here
myCobradude->myBool = whatever I wish;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment