public override void StartNewNight(DayNightCycle cycle) { isNightPhase = true; activeDemons = new List <GameObject>(); mindDemons = cycle.GetNumMindDemons(); bodyDemons = cycle.GetNumBodyDemons(); soulDemons = cycle.GetNumSoulDemons(); demonsToSpawn = mindDemons + bodyDemons + soulDemons; timeBetweenSpawns = (cycle.GetNightDuration() - timeToFirstSpawn) / demonsToSpawn; timeToNextSpawn = timeToFirstSpawn; }
public override void StartNewNight(DayNightCycle cycle) { Debug.Log("Night " + cycle.currentDay + ", duration: " + cycle.GetNightDuration() + " seconds.\n" + "Mind Demons: " + cycle.GetNumMindDemons() + ", Body Demons: " + cycle.GetNumBodyDemons() + ", Soul Demons: " + cycle.GetNumSoulDemons()); }
public override void StartNewNight(DayNightCycle cycle) { print("Night... " + cycle.GetNumMindDemons() + "m, " + cycle.GetNumBodyDemons() + "b, " + cycle.GetNumSoulDemons() + "s"); }