Exemple #1
0
        private void Update()
        {
            MWEngine.Update();

            if (playMusic)
            {
                musicPlayer.Update();
            }
        }
Exemple #2
0
        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
        }