Skip to content

Instantly share code, notes, and snippets.

@jweimann
Created November 14, 2016 06:47
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 jweimann/a4a114ae9ff4d6b4deb5adf2b9a4e816 to your computer and use it in GitHub Desktop.
Save jweimann/a4a114ae9ff4d6b4deb5adf2b9a4e816 to your computer and use it in GitHub Desktop.
private SteamVR_TrackedController _controller;
private WeaponAmmo _weaponAmmo;
private float _nextFireTime;
private bool CanFire { get { return Time.time >= _nextFireTime; } }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment