protected override void Dead() { base.Dead(); canFly = false; rotate.SetCanRotate(false); DestroyMeteor(); }
protected override void Start() { speed.y = Random.Range(minSpeed, maxSpeed); rotate = GetComponent <RotateTransform>(); rotate.SetCanRotate(true); life = 4; base.Start(); anim.enabled = false; rend.sprite = sprites[0]; }