// Start is called before the first frame update void Start() { stationSound = GetComponent <AudioSource>(); increments = GameObject.Find("IncrementsContainer").GetComponent <IncContainer>(); arrow = GameObject.Find("Pointer").GetComponent <SpriteRenderer>(); incInitColour = increments.spriteColour; backInitColour = backgroundSprite.color; vignetteInitColour = vignetteSprite.color; arrowInitColour = arrow.color; scrollBar = transform.parent; frequency = scrollBar.gameObject.GetComponent <FrequencyNumber>(); initStaticSoundVol = staticSound.volume; stationSound.volume = 0; }
// Start is called before the first frame update void Start() { increments = GameObject.Find("IncrementsContainer").GetComponent <IncContainer>(); }