void initiate() { playerMovementScript = GetComponent <PlayerMovementScript>(); playerFlyMovement = GetComponent <PlayerFlyMovement>(); playerCrouchMovementScript = GetComponent <PlayerCrouchMovement>(); aniControlScript = GetComponent <AnimatorController>(); playerCrouchMovementScript.isCrouching = false; playerFlyMovement.enabled = false; playerCrouchMovementScript.enabled = false; playerMovementScript.enabled = true; }