{"id":19132388,"url":"https://github.com/taichi-dev/taichi-unity2","last_synced_at":"2025-07-04T01:34:04.355Z","repository":{"id":45725335,"uuid":"505289236","full_name":"taichi-dev/taichi-unity2","owner":"taichi-dev","description":null,"archived":false,"fork":false,"pushed_at":"2023-04-21T10:28:25.000Z","size":118,"stargazers_count":24,"open_issues_count":2,"forks_count":7,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-05-06T18:48:42.459Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/taichi-dev.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":"2022-06-20T04:04:28.000Z","updated_at":"2025-02-13T04:12:29.000Z","dependencies_parsed_at":"2024-11-09T06:18:16.320Z","dependency_job_id":"16d3d7c9-c6ca-4cf1-b497-8f1c735316f6","html_url":"https://github.com/taichi-dev/taichi-unity2","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/taichi-dev/taichi-unity2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taichi-dev%2Ftaichi-unity2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taichi-dev%2Ftaichi-unity2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taichi-dev%2Ftaichi-unity2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taichi-dev%2Ftaichi-unity2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/taichi-dev","download_url":"https://codeload.github.com/taichi-dev/taichi-unity2/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taichi-dev%2Ftaichi-unity2/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263431125,"owners_count":23465480,"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-11-09T06:18:04.017Z","updated_at":"2025-07-04T01:34:04.322Z","avatar_url":"https://github.com/taichi-dev.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Taichi Unity Native Plugin\n\nThis repository provides extension APIs listed in `taichi/taichi_unity.h` in the [main Taichi repository](https://github.com/taichi-dev/taichi). To build this plugin you can either manually or with Visual Studio.\n\n## Prerequisites\n\nYou need to set up environement variable `TAICHI_REPO_DIR` to the root directory of Taichi. For example, if you cloned Taichi with:\n\n```sh\ncd /path/to/respositories\ngit clone https://github.com/taichi-dev/taichi\n```\n\nThen you should set `TAICHI_REPO_DIR` to `/path/to/respositories/taichi`.\n\n## Build with Visual Studio\n\nWe recommend you to build with Visual Studio for debugging.\n\n1. Open this directory in Visual Studio 2019+ with CMake Integration installed;\n2. Wait for auto-configuration to complete;\n3. Choose `taichi_unity.dll (bin/taichi_unity.dll)` in the drop-down list to the right of the green play button (▶).\n4. Pick up your built library in `out\\build\\x64-Debug\\bin`.\n\nNote that if you also want to debug with symbols of `taichi_c_api.dll`, you need to build Taichi with Visual Studio CMake Integration too for the best experience.\n\n## Build with CMake\n\nRun the following commands to build `taichi_unity` without Visual Studio.\n\n```powershell\nmkdir build\ncd build\ncmake .. -DTAICHI_C_API_INSTALL_DIR=\"$env:TAICHI_REPO_DIR/build\"\ncmake --build .\n```\n\nThen you will find `taichi_unity.dll` in `build/bin/Debug`.\n\n## Integration to Unity\n\nCopy `taichi_unity.dll` to `Assets/Plugins/x86_64` of your Unity project. Language bindings (function interface and marshalling codes) can be generated with `misc/generate_unity_language_binding.py` in the main Taichi repository.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaichi-dev%2Ftaichi-unity2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftaichi-dev%2Ftaichi-unity2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaichi-dev%2Ftaichi-unity2/lists"}