// Start is called before the first frame update void Start() { pause = false; errorTimer = 0.5f; fishingScript = GetComponentInParent <SetupFishing>(); SetupFishingPivots(); stopMoving = false; moveUp = false; hookVelocity = hookStartingVelocity; }
// Start is called before the first frame update void Start() { fishingScript = GetComponentInParent <SetupFishing>(); errorTimer = 0.5f; pause = false; pressedA = false; moveLeft = false; isCaught = false; fish.transform.position = new Vector3(leftPivot.position.x, fishGrounds.position.y, 0); }