Beispiel #1
0
 void StartFishing()
 {
     /// <summary>
     /// Fishing stance.
     /// </summary>
     ProgressBarController.ResetProgress();
     _isFishing    = true;
     InfoText.text = GameManager.FishermanManager.UseArrowText; // change player info text
     FloatController.ShowFloat();                               // show the float
     FishingRodController.Throw();                              // and rotate the fishing rod
     _myCoroutine = WaitForWish();
     InfoText.gameObject.SetActive(false);
     StartCoroutine(_myCoroutine);
 }