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