private void Update() { MWEngine.Update(); if (playMusic) { musicPlayer.Update(); } }
private void Update() { MWEngine.Update(); if (playMusic) { musicPlayer.Update(); } #if UNITY_EDITOR if (Input.GetKeyDown(KeyCode.P)) { if (MWEngine.currentCell == null || !MWEngine.currentCell.isInterior) { Debug.Log(MWEngine.GetExteriorCellIndices(Camera.main.transform.position)); } else { Debug.Log(MWEngine.currentCell.NAME.value); } } #endif }