{"id":21543109,"url":"https://github.com/deathwatchgaming/unity-previewcameracontrol","last_synced_at":"2026-05-17T13:06:05.302Z","repository":{"id":264275364,"uuid":"892905630","full_name":"deathwatchgaming/Unity-PreviewCameraControl","owner":"deathwatchgaming","description":"Create a basic (\"Preview Camera\" / \"Fly Cam\")  by example for your Unity asset and or project ","archived":false,"fork":false,"pushed_at":"2024-11-23T14:23:57.000Z","size":333,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-24T08:43:53.432Z","etag":null,"topics":["textmeshpro","unity-camera","unity-engine","unity-scripts","unity-ui","unity3d"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deathwatchgaming.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-23T02:47:00.000Z","updated_at":"2024-11-24T15:54:36.000Z","dependencies_parsed_at":"2024-11-23T06:34:15.795Z","dependency_job_id":null,"html_url":"https://github.com/deathwatchgaming/Unity-PreviewCameraControl","commit_stats":null,"previous_names":["deathwatchgaming/unity-previewcameracontrol"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deathwatchgaming%2FUnity-PreviewCameraControl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deathwatchgaming%2FUnity-PreviewCameraControl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deathwatchgaming%2FUnity-PreviewCameraControl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deathwatchgaming%2FUnity-PreviewCameraControl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deathwatchgaming","download_url":"https://codeload.github.com/deathwatchgaming/Unity-PreviewCameraControl/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244130283,"owners_count":20402753,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["textmeshpro","unity-camera","unity-engine","unity-scripts","unity-ui","unity3d"],"created_at":"2024-11-24T05:13:04.021Z","updated_at":"2026-05-17T13:06:05.296Z","avatar_url":"https://github.com/deathwatchgaming.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Unity-PreviewCameraControl\n\n \nDescription:\n------------\n\n Create a basic (\"Preview Camera\" / \"Fly Cam\")  by example for your unity asset / project \n\n\n ![Preview](https://github.com/deathwatchgaming/Unity-PreviewCameraControl/blob/main/Previews/PreviewCamera-1.png)\n\n\n\nOld Input Variant Preview:\n\n ![Preview](https://github.com/deathwatchgaming/Unity-PreviewCameraControl/blob/main/Previews/PreviewCamera-2.png)\n\n\nNew Input Variant Preview:\n\n ![Preview](https://github.com/deathwatchgaming/Unity-PreviewCameraControl/blob/main/Previews/PreviewCamera-3.png)\n\n ![Preview](https://github.com/deathwatchgaming/Unity-PreviewCameraControl/blob/main/Previews/PreviewCamera-4.png)\n\n\nREPO NOTE: The purpose of this repository / project was decided upon recently\nwhen working on another project and creating these scripts for using while\nworking on that project and then coming to the conclusion, hey, this would be\nhelpful for myself and or anyone else that wanted a basic \"fly / preview cam\"\nsay for usage when creating and or distributing assets like terrain demos or\nother such assets that do not have say an included character controller or\nwould not need one but would need some type of preview camera to view the\ndemo content in asset or what not, thus upon considering such it was decided\nto add this repository for such...\n\nNOTE: This project was developed while / for using Unity 2021+ \u0026 2022+ \u0026 Unity 6\n\n\nPreview Camera Controls: \n------------------------\n\n\n  Note: The following found below are related to the provided scripts.\n\n\nNEW INPUT SYSTEM VARIANT:\n\nNOTE: This currently uses the New Input System, so as such depending on\nwhat version of Unity you may be using it may be necessary to make sure such\nor both is enabled in project settings.\n\n\nBasic:\n\n* Forward:   W [Keyboard] / Left Stick [Gamepad]\n* Reverse:   S [Keyboard] / Left Stick [Gamepad]\n* Left:      A [Keyboard] / Left Stick [Gamepad]\n* Right:     D [Keyboard] / Left Stick [Gamepad]\n* Up:        Q [Keyboard] / D-Pad UP [Gamepad]\n* Down:      E [Keyboard] / D-Pad Down [Gamepad]\n* Minus FOV: Z [Keyboard] or Mouse Scroll Wheel / Button North [Gamepad]\n* Plus FOV:  X [Keyboard] or Mouse Scroll Wheel / Button West [Gamepad]\n\n\nFurther:\n\n* Vertical Move Input:               Vertical [Keyboard] / Left Stick [Gamepad]\n* Horizontal Move Input:             Horizontal [Keyboard] / Left Stick [Gamepad]\n* Mouse Scroll Wheel Input:          Mouse ScrollWheel [Mouse]\n* Mouse Y Input:                     Mouse Y [Mouse] / Right Stick [Gamepad]\n* Mouse X Input:                     Mouse X [Mouse] / Right Stick [Gamepad]\n* Plus Speed Left Key:               Left Shift [Keyboard] / Left Trigger [Gamepad]\n* Plus Speed Right Key:              Right Shift [Keyboard] / Right Trigger [Gamepad]\n* Minus Speed Left Key:              Left Control [Keyboard] / Left Shoulder [Gamepad]\n* Minus Speed Right Key:             Right Control [Keyboard] / Right Shoulder [Gamepad]\n* Plus Lift Key:                     Q [Keyboard] / D-Pad UP [Gamepad]\n* Minus Lift Key:                    E [Keyboard] / D-Pad Down [Gamepad]\n* Cursor Lock Key:                   End [Keyboard] / Select [Gamepad]\n* Minus Field Of View Key:           Z [Keyboard] or Mouse Scroll Wheel / Button North [Gamepad]\n* Plus Field Of View Key:            X [Keyboard] or Mouse Scroll Wheel / Button West [Gamepad]\n\n\n\n\nOLD INPUT SYSTEM VARIANT:\n\nNOTE: This currently still uses the Old Input System, so as such depending on\nwhat version of Unity you may be using it may be necessary to make sure such\nor both is enabled in project settings.\n\n\nBasic:\n\n* Forward:   W\n* Reverse:   S\n* Left:      A\n* Right:     D\n* Up:        Q\n* Down:      E\n* Minus FOV: Z or Mouse Scroll Wheel\n* Plus FOV:  X or Mouse Scroll Wheel\n\n\nFurther:\n\n* Vertical Move Input:               Vertical\n* Horizontal Move Input:             Horizontal\n* Mouse Scroll Wheel Input:          Mouse ScrollWheel\n* Mouse Y Input:                     Mouse Y\n* Mouse X Input:                     Mouse X\n* Plus Speed Left Key:               Left Shift\n* Plus Speed Right Key:              Right Shift\n* Minus Speed Left Key:              Left Control\n* Minus Speed Right Key:             Right Control\n* Plus Lift Key:                     Q\n* Minus Lift Key:                    E\n* Cursor Lock Key:                   End\n* Minus Field Of View Key:           Z\n* Plus Field Of View Key:            X\n\n\nNOTE: This can be used simply as preview cam script only or also provides the\noption to then opt to also add the preview cam altitude script as well.\n\n\nDependencies:\n\nThe Preview Camera Altitude Script uses Text Mesh Pro\n\n\n\nManual Setup Instruction:\n-------------------------\n\n\nSimply follow the documentation instruction linkages for manual setups found below.\n\n\nOld Input Variant:\n\n* Preview Camera Setup Documentation: [https://github.com/deathwatchgaming/Unity-PreviewCameraControl/blob/main/Old Input/Assets/PreviewControl/PreviewCamera/Documentation/PreviewCamera-Camera-Documentation.txt](https://github.com/deathwatchgaming/Unity-PreviewCameraControl/blob/main/Old%20Input/Assets/PreviewControl/PreviewCamera/Documentation/PreviewCamera-Camera-Documentation.txt)\n\n* Preview Camera Altitude Setup Documentation: [https://github.com/deathwatchgaming/Unity-PreviewCameraControl/blob/main/Old Input/Assets/PreviewControl/PreviewCamera/Documentation/PreviewCamera-Altitude-Documentation.txt](https://github.com/deathwatchgaming/Unity-PreviewCameraControl/blob/main/Old%20Input/Assets/PreviewControl/PreviewCamera/Documentation/PreviewCamera-Altitude-Documentation.txt)\n\n\nNew Input Variant:\n\n* Preview Camera Setup Documentation: [https://github.com/deathwatchgaming/Unity-PreviewCameraControl/blob/main/New Input/Assets/PreviewControl/PreviewCamera/Documentation/PreviewCamera-Camera-Documentation.txt](https://github.com/deathwatchgaming/Unity-PreviewCameraControl/blob/main/New%20Input/Assets/PreviewControl/PreviewCamera/Documentation/PreviewCamera-Camera-Documentation.txt)\n\n* Preview Camera Altitude Setup Documentation: [https://github.com/deathwatchgaming/Unity-PreviewCameraControl/blob/main/New Input/Assets/PreviewControl/PreviewCamera/Documentation/PreviewCamera-Altitude-Documentation.txt](https://github.com/deathwatchgaming/Unity-PreviewCameraControl/blob/main/New%20Input/Assets/PreviewControl/PreviewCamera/Documentation/PreviewCamera-Altitude-Documentation.txt)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeathwatchgaming%2Funity-previewcameracontrol","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeathwatchgaming%2Funity-previewcameracontrol","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeathwatchgaming%2Funity-previewcameracontrol/lists"}