// Update is called once per frame void Start() { thisStarVertex.starRef = gameObject; starCounter = GameObject.FindGameObjectWithTag("StarCounter").GetComponent <StarCounter>(); starsConnectedCounter = GameObject.FindGameObjectWithTag("StarCounter").GetComponent <StarsConnectedCounter>(); charge.Stop(); fullyChargedSound.Stop(); if (!hasPuzzle) { charge.Play(); fullyChargedSound.Play(); starCounter.AddCount(); thisStarVertex.IsInPlace = true; thisStarVertex.CheckAndDrawLines(thisStarVertex); } }