void CountDown() { if (countDownTime < 0.35f) { countDownTime += Time.deltaTime; } else { countDownNum--; countDownTime = .0f; if (countDownNum > 0) { info.text = countDownNum.ToString(); } else { info.text = "GO!!!"; for (int i = 0; i < 4; i++) { PVPPlayerManager.SetAllController(playerControllers[i].slotID, playerControllers[i].control); } StageManager.nextStage = 2; stageManager.ChangeSceneBlackOut(); goNextStage = true; } } }
public void Init(PVPPlayerManager manager, CharacterVoice voice, bool team) { playerManager = manager; effectAudio = voice; teamA = team; }