Beispiel #1
0
 private void GoInside()
 {
     _inBuilding = true;
     _insideArea.SetActive(true);
     _outsideArea.SetActive(false);
     PlayerExtension.GetPlayerObject().transform.position = _inSidesPoint.position;
     BlackScreenEvent.ShowBlackScreen();
     DayNightCycleEvent.SwitchLight();
 }
Beispiel #2
0
 private IEnumerator ActivaterTimer(float time)
 {
     BlackScreenEvent.ShowBlackScreen();
     CheckMapElements();
     _mapActive = true;
     CheckCityElements();
     _cityActive = false;
     mapCanvas.SetActive(true);
     yield return(new WaitForSeconds(time));
 }