void OnBossDefeat(ColoredBossScript bossDeth) {//when a boss is defeated the player will add to the number of bossdef to unlock their armor //also brings up bosswin screen instead of the usal level complete screen numbOfBossDef++; numberOfBossesKilledToWin++; }
//start events void OnBossDefeat(ColoredBossScript bossDeth) { //gameState = StateGame.win; }