Ejemplo n.º 1
0
 void Start()
 {
     rb2d         = GetComponent <Rigidbody2D>();
     dashTime     = startDashTime;
     dashCooldown = new CoolDownHability(cooldownTime);
     boosterSpawner.SpeedBoosterTouched += SpeedBoosterTouched;
 }
Ejemplo n.º 2
0
 private void Start()
 {
     dashTime     = startDashTime;
     rb           = GetComponent <Rigidbody>();
     dashCooldown = new CoolDownHability(cooldownTime);
 }