{"id":20162831,"url":"https://github.com/gamgaroo/samples","last_synced_at":"2026-04-17T09:32:26.874Z","repository":{"id":97243890,"uuid":"267131579","full_name":"gamgaroo/Samples","owner":"gamgaroo","description":"Gamgaroo Unity Packages usage samples.","archived":false,"fork":false,"pushed_at":"2020-06-05T13:19:29.000Z","size":77,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"develop","last_synced_at":"2025-10-09T06:05:10.579Z","etag":null,"topics":["data-binding","mvvm","reactive","sample","unity","unity3d","view","viewmodel"],"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/gamgaroo.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-26T19:19:20.000Z","updated_at":"2020-06-16T23:03:02.000Z","dependencies_parsed_at":"2023-03-13T16:18:23.446Z","dependency_job_id":null,"html_url":"https://github.com/gamgaroo/Samples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gamgaroo/Samples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gamgaroo%2FSamples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gamgaroo%2FSamples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gamgaroo%2FSamples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gamgaroo%2FSamples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gamgaroo","download_url":"https://codeload.github.com/gamgaroo/Samples/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gamgaroo%2FSamples/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31923147,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T09:10:15.403Z","status":"ssl_error","status_checked_at":"2026-04-17T09:10:14.455Z","response_time":62,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["data-binding","mvvm","reactive","sample","unity","unity3d","view","viewmodel"],"created_at":"2024-11-14T00:27:05.761Z","updated_at":"2026-04-17T09:32:26.857Z","avatar_url":"https://github.com/gamgaroo.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Samples\r\n\r\n## S01: Basics\r\n\r\nThis is a simple sample of how to bind a View to a ViewModel's Reactive Property. \r\n\r\n```csharp\r\npublic sealed class TestBehaviour : MonoBehaviour\r\n{\r\n    private readonly IReactiveProperty\u003cfloat\u003e _time = new ReactiveProperty\u003cfloat\u003e();\r\n\r\n    private void Start()\r\n    {\r\n        // Bind the View to the Property\r\n        GetComponent\u003cTextView\u003e().Bind(_time);\r\n    }\r\n\r\n    private void Update()\r\n    {\r\n        // Update the Property value\r\n        _time.Value += Time.deltaTime;\r\n    }\r\n}\r\n```\r\n\r\nRun the Scene to see how the View is updating every frame when the Reactive Property value updates.\r\n\r\n## S02: RTS UI\r\n\r\nThis is a more complex sample of how to create nested Views and set/bind values of ViewModels.\r\n\r\nThe video below shows the functionality of the sample.\r\n\r\n[![Video Sample](https://img.youtube.com/vi/YAnY434Kx3g/0.jpg)](https://www.youtube.com/watch?v=YAnY434Kx3g \"Video Sample\")\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgamgaroo%2Fsamples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgamgaroo%2Fsamples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgamgaroo%2Fsamples/lists"}