zombie-shoot cameraController script attach the camera control to main camera as its script component attach the public gameobject player as the player. and for player controls, attach plaerController to player as its script component.