{"id":13663886,"url":"https://github.com/webocs/Unity-RuntimeLightEditor","last_synced_at":"2025-04-25T18:31:39.088Z","repository":{"id":82490611,"uuid":"91176004","full_name":"webocs/Unity-RuntimeLightEditor","owner":"webocs","description":"A UI based light editor for a Unity, with presets support","archived":false,"fork":false,"pushed_at":"2017-05-13T14:38:57.000Z","size":3696,"stargazers_count":8,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-07T14:51:34.825Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/webocs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-05-13T13:25:22.000Z","updated_at":"2022-12-07T09:25:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"50d63f9e-7181-4a07-ac37-679bee5ccd85","html_url":"https://github.com/webocs/Unity-RuntimeLightEditor","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webocs%2FUnity-RuntimeLightEditor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webocs%2FUnity-RuntimeLightEditor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webocs%2FUnity-RuntimeLightEditor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webocs%2FUnity-RuntimeLightEditor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webocs","download_url":"https://codeload.github.com/webocs/Unity-RuntimeLightEditor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250872089,"owners_count":21500765,"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":[],"created_at":"2024-08-02T05:02:39.954Z","updated_at":"2025-04-25T18:31:39.077Z","avatar_url":"https://github.com/webocs.png","language":"C#","readme":"# Unity-RuntimeLightEditor\n\nThis is a runtime Light editor that allows you to place UI sliders and a color picker to edit a light on runtime. This is how it looks like:\n\n![Overview](http://i.imgur.com/L7tVxxU.gif)\n\n## How to use it\n\nInside the Light Orbiter folder there's a scene called \"main\" you get a full example from that scene.\n\nTo do it Manually:\n\nFirst, this is the Light Orbiter component's Inspector\n\n![ Light Orbiter's inspector](http://i.imgur.com/Y25NhW1.png)\n\n\n#### Basic rotation\nCreate a directional light and add the LightOrbiter Script to it. For each axis you want to rotate create a Slider object in your  UI.\nCheck the \"Allow X/Y/Z rotation\" to enable X, Y or Z rotation. When you check an axis you'll be able to set the slider for that axis in the Inspector. Assign the UI sliders and you're good to go. \n\n\n#### Color picking\n\nFor color picking you'll need to use an external object (https://github.com/judah4/HSV-Color-Picker-Unity) which is included in the third party folder. Add the color picker to your UI, check the \"Allow color picking\" option and assign the color picker to the object field. \n\n#### Presets\n\nThere's a support for light presets also.  To create a preset, go to Assets -\u003e Create -\u003e Light Orbiter -\u003e Preset. This will create a Preset object in your project explorer. Select the object and the inspector should look something like this:\n\n\n\n![Presets inspector](http://i.imgur.com/67E0fwu.png)\n\nYou can place a light int the get from light object field and click the \"Get from light\" button. That'll get all the settings from the light and store them in the preset.  For each preset you'll have to create a button that makes it work, assign the button to the Preset Buttons array in a \"one to one\" correspondance manner. Like shown in the next image\n\n![One to one correspondance](http://i.imgur.com/SQipTHd.png?1)\n","funding_links":[],"categories":["C\\#","UI Utility"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebocs%2FUnity-RuntimeLightEditor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebocs%2FUnity-RuntimeLightEditor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebocs%2FUnity-RuntimeLightEditor/lists"}