Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

Timer Problem: WaitForSeconds

$
0
0
Hey Guys,

i just did the Tutorial to the Space Shooter and started to add some features on my own.

i created another Object that increases my fireRate. That works fine so far.

Code (CSharp):
  1. using UnityEngine;
  2. using System.Collections;
  3.  
  4. public class PickUpBuff : MonoBehaviour {
  5.  
  6.     private PlayerController playerController;
  7.     private float safe;
  8.     public float buffTime;
  9.     public float newFireRate;
  10.  
  11.  
  12.     void Start ()
  13.     {
  14.         GameObject playerControllerObject =...
Timer Problem: WaitForSeconds

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>