Пример #1
0
        private void OnCurrentObjectiveChanged(object sender, CurrentObjectiveChangedEventArgs args)
        {
            if (args.OldObjective == null)
            {
                return;
            }

            this.SetPressure(this.pressure - this.LevelSettings.PressureReducedPerObjective);
        }
Пример #2
0
 private void OnCurrentObjectiveChanged(object sender, CurrentObjectiveChangedEventArgs args)
 {
     this.currentObjective = args.NewObjective;
 }
Пример #3
0
        private void OnCurrentObjectiveChanged(object sender, CurrentObjectiveChangedEventArgs args)
        {
            this.currentObjective = args.NewObjective;

            this.SelectInteractable();
        }
Пример #4
0
 private void OnCurrentObjectiveChanged(object sender, CurrentObjectiveChangedEventArgs args)
 {
     this.currentObjective = args.NewObjective;
     this.CheckObstacles();
 }
Пример #5
0
 public void OnCurrentObjectiveChanged(object sender, CurrentObjectiveChangedEventArgs args)
 {
     var handler = this.CurrentObjectiveChanged;
     if (handler != null)
     {
         handler(sender, args);
     }
 }