Esempio n. 1
0
 public VerseSelectionInteraction(LandmarkVerses verses, PoemState.GenderEnum gender, TombComponent tombComponent)
 {
     _verses        = verses;
     _tombComponent = tombComponent;
     _poemState     = ((PoemState)Player.GetInstance().CurrentState);         // TODO: send in constructor
     DisplayVerses(gender);
 }
        public void SetVerseInteraction(LandmarkVerses verses)
        {
            _movement.MovementBehaviour.ClearInteractions();
            _movement.MovementBehaviour.AddInteraction(new VerseSelectionInteraction(verses, Gender, _tombComponent));

            Player.GetInstance().CameraController.EnableDepthOfField(0.5f);
            Player.GetInstance().Look.SetScopedLook(_lookConfig.PoemScopedLook, Player.GetInstance().MainCamera.transform.rotation);
        }