Skip to content

Instantly share code, notes, and snippets.

@amirkhan81
Created August 2, 2018 21:24
Show Gist options
  • Save amirkhan81/4aa0e7e89b7311e0fa236192313a3680 to your computer and use it in GitHub Desktop.
Save amirkhan81/4aa0e7e89b7311e0fa236192313a3680 to your computer and use it in GitHub Desktop.
if(Lecoati.LeBlender.Extension.Helper.IsFrontEnd()){
do the fancy button
} else {
just render it the old way
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment