Beispiel #1
0
 private void OnBaitFound()
 {
     _baitFound = true;
     // Bait roll
     _baitRollSuccessful = Random.Range(.0f, 1.0f) <
                           _fish.Info.CatchingValues.BaitInterest;
     _fish.BaitFound();
     Debug.Log("bait is in front of me");
 }