Skip to content

Instantly share code, notes, and snippets.

@unity3dcollege
Created May 23, 2017 04:40
Show Gist options
  • Save unity3dcollege/2e32c45dd9b210e5edc0cc6b7f0f887f to your computer and use it in GitHub Desktop.
Save unity3dcollege/2e32c45dd9b210e5edc0cc6b7f0f887f to your computer and use it in GitHub Desktop.
[ContextMenu("Choose Random Values")]
private void ChooseRandomValues()
{
rangedFloat = Random.Range(-5f, 5f);
rangedInt = Random.Range(-5, 5);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment