void Awake() { goalSpeed = 0; speed = 0; size = minSize; transform.parent.localScale = new Vector3(size, size, 1); emission = particleSystem.emission; moveSound = SoundScript.GetSound("Move"); jumpSound = SoundScript.GetSound("Jump"); landSound = SoundScript.GetSound("Land"); resetSound = SoundScript.GetSound("Reset"); hurtSound = SoundScript.GetSound("Hurt"); goalSound = SoundScript.GetSound("Goal"); }