Unity Editor Like Camera Script?

Hello! I am currently trying to look for a script like the unity editor camera.

  • Right-click to move the camera left, right, up, and down.
  • Scroll wheel up and down zooms in and out.
  • The left mouse allows the player to select the object (useless pretty much because I can make it where they can select something).
  • F focuses on the item they have selected.

If someone can find this for me please let me know!

Hello @BlazingTank , you’re asking for someone to do the script for you? if thats not the case, you will find, I think, this info enough to solve it by yourself

transfom of the current camera can be accessed trough the Camera.main.transform

ofcourse everything need to be done inside the update function, and I suggest to multiply all the indexes of the camera movement by Time.DeltaTime in order to archieve a smooth movement having a very variable framerrate

hope this help you to reach the solution, good luck