Exemplo n.º 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;
        }
Exemplo n.º 2
0
 public override void FirstExecutionAction()
 {
     TargetAndFireTestUtil.SetupInputForStartingFiring();
     this.Tick(0f);
 }