{"id":15160779,"url":"https://github.com/sandrofigo/enumerable-extensions-unity3d","last_synced_at":"2026-02-28T13:32:47.510Z","repository":{"id":50656860,"uuid":"519761150","full_name":"sandrofigo/Enumerable-Extensions-Unity3D","owner":"sandrofigo","description":"Extension class for easily working with collections and random elements","archived":false,"fork":false,"pushed_at":"2022-09-28T13:05:21.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-12T07:48:10.852Z","etag":null,"topics":["extension","extension-functions","openupm","unity","unity-scripts","unity2d","unity3d","unity3d-plugin","utility","utility-classes","utility-library"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sandrofigo.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}},"created_at":"2022-07-31T11:48:23.000Z","updated_at":"2023-01-17T19:15:54.000Z","dependencies_parsed_at":"2023-01-18T18:38:18.969Z","dependency_job_id":null,"html_url":"https://github.com/sandrofigo/Enumerable-Extensions-Unity3D","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/sandrofigo/Enumerable-Extensions-Unity3D","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandrofigo%2FEnumerable-Extensions-Unity3D","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandrofigo%2FEnumerable-Extensions-Unity3D/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandrofigo%2FEnumerable-Extensions-Unity3D/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandrofigo%2FEnumerable-Extensions-Unity3D/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sandrofigo","download_url":"https://codeload.github.com/sandrofigo/Enumerable-Extensions-Unity3D/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandrofigo%2FEnumerable-Extensions-Unity3D/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267972518,"owners_count":24174375,"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","status":"online","status_checked_at":"2025-07-30T02:00:09.044Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["extension","extension-functions","openupm","unity","unity-scripts","unity2d","unity3d","unity3d-plugin","utility","utility-classes","utility-library"],"created_at":"2024-09-26T23:23:04.801Z","updated_at":"2026-02-28T13:32:47.454Z","avatar_url":"https://github.com/sandrofigo.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Enumerable Extensions\nExtension class for easily working with collections and random elements\n\n[![openupm](https://img.shields.io/npm/v/com.sandrofigo.enumerable-extensions-unity3d?label=openupm\u0026registry_uri=https://package.openupm.com)](https://openupm.com/packages/com.sandrofigo.enumerable-extensions-unity3d/)\n\n## Installation\nThere are multiple ways to install this package into your project:\n- Add it to your project through [OpenUPM](https://openupm.com/packages/com.sandrofigo.enumerable-extensions-unity3d/) (recommended)\n- Add the package to the Unity package manager using the HTTPS URL of this repository (recommended)\n- Download the whole repository as a .zip and place the contents into a subfolder in your assets folder\n- Fork the repository and add it as a submodule in git\n\n## Usage\n```csharp\nusing EnumerableExtensions;\nusing UnityEngine;\n\npublic class Foo : MonoBehaviour\n{\n    public void Bar()\n    {\n        var list = new List\u003cint\u003e();\n        list.Add(1);\n        list.Add(2);\n        list.Add(3);\n        \n        Debug.Log(list.Random());\n        // Output: either 1, 2 or 3\n        \n        foreach(int i in list.RandomOnce())\n            Debug.Log(i);\n        // Output: 1, 2 and 3 in random order\n        \n        Debug.Log(list.IsEmpty());\n        // Output: false\n    }\n}\n```\n\n## Collaboration\nSupport this project with a ⭐️, report an issue or if you feel adventurous and would like to extend the functionality open a pull request.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsandrofigo%2Fenumerable-extensions-unity3d","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsandrofigo%2Fenumerable-extensions-unity3d","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsandrofigo%2Fenumerable-extensions-unity3d/lists"}