public void ClearDelegates() { CombatInfoCall = null; AnimationSpeedCall = null; BeatTrackNoteCall = null; AdvanceIndexCall = null; NoMoreBeatsCall = null; CombatOverCall = null; }
void Start () { //Acquire the players and enemies, then acquire their speeds and begin Time of Action. //Using Invoke because there should be a little break when battle begins to set up stats and everything Invoke ("InitialiseBattle", battleStartTime); //Obtain Overworld name from Combat Spawner combatInfo = GameObject.FindGameObjectWithTag ("Combat Spawner").GetComponent<CombatInformation>(); if(!Application.isEditor) { allowAsync = true; } PrepareOverworldLoad (); InvokeRepeating ("CheckPlayersAndEnemies", 40f, 40f); }