void OnTriggerEnter(Collider col) { if (col.gameObject.layer == LayerMask.NameToLayer("Rure")) { kakuritsu = PSGameUtils.GetChusenRitsuFromKakuritsu(GetLargestBounds() / 0.2f, (negakarikakuritsu - TackleParams.Instance.tParams.negakariKaihi)); lure = LureController.Instance.gameObject; Player.Instance.SetDistancePlayer(LureController.Instance.gameObject.transform); dist = Player.Instance.distanceToLure; } }