// Use this for initialization void Start() { buffer = new List<DancePose>(); beatTime = 60 / bpm; InvokeRepeating("PermanentClock", beatTime / 2, beatTime+0.02f); arms = GetComponent<DancingArms>(); spellcaster = GetComponent<Spellcaster>(); }
// Use this for initialization void Start() { buffer = new List <DancePose>(); beatTime = 60 / bpm; InvokeRepeating("PermanentClock", beatTime / 2, beatTime + 0.02f); arms = GetComponent <DancingArms>(); spellcaster = GetComponent <Spellcaster>(); }