Skip to content

Instantly share code, notes, and snippets.

@openroomxyz
Created April 21, 2020 14:14
Show Gist options
  • Save openroomxyz/e588bdcf590982d7fb77016f4b44cfc6 to your computer and use it in GitHub Desktop.
Save openroomxyz/e588bdcf590982d7fb77016f4b44cfc6 to your computer and use it in GitHub Desktop.
Unity : How to create slider in inspector? -> [Range(a,b)]
[SerializeField][Range(1f, 20f)] float gridSize = 10f;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment