// Use this for initialization void Start() { damLoad = GameObject.Find("FullDamier").GetComponent <DamierLoader>(); floorRythm = GameObject.Find("RythmBoxes").GetComponent <FloorRythm>(); random = new System.Random(); //BPM = GameObject.Find("Main Camera").GetComponent<SceneSetup>().BPM; timerBPM = 1.0f / (BPM / 60.0f); Debug.Log(MenuCtrl.FinalDifficulty); }
// Use this for initialization void Start() { damLoad = GameObject.Find("FullDamier").GetComponent<DamierLoader>(); floorRythm = GameObject.Find("RythmBoxes").GetComponent<FloorRythm>(); random = new System.Random(); //BPM = GameObject.Find("Main Camera").GetComponent<SceneSetup>().BPM; timerBPM = 1.0f / (BPM / 60.0f); Debug.Log(MenuCtrl.FinalDifficulty); }