Skip to content

Instantly share code, notes, and snippets.

@lucasctnh
Last active September 2, 2023 22:49
Show Gist options
  • Select an option

  • Save lucasctnh/26282e31ed45079017cdfa27c8a6835a to your computer and use it in GitHub Desktop.

Select an option

Save lucasctnh/26282e31ed45079017cdfa27c8a6835a to your computer and use it in GitHub Desktop.
Code Snippet - Spawn Manager Core (Update)
private void Update() {
if (GameManager.Instance.isGameRunning)
GameManager.CallRepeating(SpawnHitable, ref _timer, repeatRate);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment