void SetIsDirWrong(bool isWrong) { if (isWrong == DirectionInfoCtrl.GetInstance().GetIsActiveDirection()) { return; } if (isWrong) { CloseHuanYingFuState(); PlayerAutoFire.ResetIsIntoPuBu(); PlayerAutoFire.HandlePlayerCloseHuanYingFu(); DirectionInfoCtrl.GetInstance().ShowDirWrongInfo(); } else { DirectionInfoCtrl.GetInstance().HiddenDirWrong(); } }
public void ShowPlayerYueJie() { if (StartGameTimeCtrl.GetInstance().CheckIsActiveStartTime()) { return; } if (gameObject.activeSelf) { return; } gameObject.SetActive(true); //AudioListCtrl.PlayAudio(AudioListCtrl.GetInstance().AudioGameJingGao); AudioListCtrl.PlayAudioLoopJingGao(); DirectionInfoCtrl.GetInstance().HiddenDirWrong(); PlayerAutoFire.ResetIsIntoPuBu(); PlayerAutoFire.HandlePlayerCloseHuanYingFu(); PlayerAutoFire.HandlePlayerCloseShenXingState(); PlayerAutoFire.AddPlayerHitZhangAiNum(); }