{"id":15160888,"url":"https://github.com/erdemkosk/unity-serialportutility","last_synced_at":"2025-04-07T21:23:35.690Z","repository":{"id":125555978,"uuid":"115618581","full_name":"erdemkosk/Unity-SerialPortUtility","owner":"erdemkosk","description":"A lightweight and easy-to-use Serial COM library for Unity Game Engine","archived":false,"fork":false,"pushed_at":"2017-12-28T11:57:05.000Z","size":156,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-13T22:49:14.781Z","etag":null,"topics":["port","serial","unity","unity-game-engine"],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/erdemkosk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2017-12-28T11:53:38.000Z","updated_at":"2024-12-18T23:25:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"7a3f602d-4c3a-4bc8-a1df-763a4ab0a0a3","html_url":"https://github.com/erdemkosk/Unity-SerialPortUtility","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/erdemkosk%2FUnity-SerialPortUtility","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erdemkosk%2FUnity-SerialPortUtility/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erdemkosk%2FUnity-SerialPortUtility/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erdemkosk%2FUnity-SerialPortUtility/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/erdemkosk","download_url":"https://codeload.github.com/erdemkosk/Unity-SerialPortUtility/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247730559,"owners_count":20986501,"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":["port","serial","unity","unity-game-engine"],"created_at":"2024-09-26T23:41:45.133Z","updated_at":"2025-04-07T21:23:35.652Z","avatar_url":"https://github.com/erdemkosk.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Unity-SerialPortUtility\n\nA lightweight and easy-to-use Serial COM library for Unity Game Engine. Mono C# Compiler does not support SerialPort events so I decided to develop our library for Unity.\n\n\nAnd here's sample code! :+1:\n\n```C#\npublic class SerialCommManager : MonoBehaviour {\n    ISerialCommunication serialFacade;\n    \n    // Use this for initialization\n    void Start () {\n       serialFacade = new SerialCommunicationFacade();\n    }\n\t\n   // Update is called once per frame\n    void Update () \n    {\n\t\t\n    }\n    public void ConnectSerial()\n    {\n        serialFacade.Connect();\n\n    }\n    public void SendValueFromSerial(string value)\n    {\n        byte[] buf = System.Text.Encoding.UTF8.GetBytes(value);\n        serialFacade.SendMessage(buf);\n    }\n    public void DisconnectSerial()\n    {\n        serialFacade.Disconnect();\n    }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferdemkosk%2Funity-serialportutility","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ferdemkosk%2Funity-serialportutility","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferdemkosk%2Funity-serialportutility/lists"}