Noclip Setting?

I Am wondering how do i make a noclip setting? like allow the camera to move or disable the collider in the player

Any idea?

If your player is a rigidbody, set isKinematic to true.

If your player is a CharacterController, you can set [detectCollisions][1] as well as enabled of the CC to false so other rigidbodies no longer collide with the character controller and then stop moving your player through CharacterController.Move but directly through transform.