void Start() { scriptRef = curveRampObj.GetComponent <CurveRamp>(); }
void Start() { scriptRef = curveRampObj.GetComponent <CurveRamp>(); sound = GameObject.Find("SoundObjects").GetComponent <SoundController>(); }