Exemple #1
0
        private IEnumerator ActionCoroutine()
        {
            TargetAndFireTestUtil.SetupInputForStartingFiring();
            TargetCursorManager.Get().SetTargetCursorPosition(Camera.main.WorldToScreenPoint(
                                                                  this.Target.InteractiveGameObject.GetLocalToWorld().MultiplyPoint(this.Target.InteractiveGameObject.AverageModelLocalBounds.Bounds.center)));
            yield return(null);

            TargetAndFireTestUtil.SetupInputForStoppingFiring();
            this.ended = true;
        }
Exemple #2
0
 public override void FirstExecutionAction()
 {
     TargetAndFireTestUtil.SetupInputForStartingFiring();
     this.Tick(0f);
 }