{"id":44602620,"url":"https://github.com/xprees/unity-variables","last_synced_at":"2026-02-14T10:02:25.406Z","repository":{"id":194533055,"uuid":"660223195","full_name":"xprees/unity-variables","owner":"xprees","description":"Unity variables package suitable for modular and multi-scene architecture based on ScriptableObjects. Inspired by Ryan Hipple Unity 2017 talk.","archived":false,"fork":false,"pushed_at":"2025-12-10T14:56:10.000Z","size":49,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-10T23:42:17.361Z","etag":null,"topics":["scriptableobjects","unity"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/cz.xprees.variables","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/xprees.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-06-29T14:16:19.000Z","updated_at":"2025-12-10T14:56:14.000Z","dependencies_parsed_at":"2025-12-10T18:17:21.669Z","dependency_job_id":null,"html_url":"https://github.com/xprees/unity-variables","commit_stats":null,"previous_names":["xprees/unity-variables"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/xprees/unity-variables","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xprees%2Funity-variables","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xprees%2Funity-variables/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xprees%2Funity-variables/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xprees%2Funity-variables/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xprees","download_url":"https://codeload.github.com/xprees/unity-variables/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xprees%2Funity-variables/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29442331,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T07:24:13.446Z","status":"ssl_error","status_checked_at":"2026-02-14T07:23:58.969Z","response_time":53,"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":["scriptableobjects","unity"],"created_at":"2026-02-14T10:01:06.077Z","updated_at":"2026-02-14T10:02:25.394Z","avatar_url":"https://github.com/xprees.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"﻿# Unity Variables Package - cz.xprees.variables\n\n[![NPM Version](https://img.shields.io/npm/v/cz.xprees.variables)](https://www.npmjs.com/package/cz.xprees.variables)\n\nThis package contains a set of variables based on the ScriptableObjects,\nwhich make it great for storing and simply sharing state without tight coupling.\nMoreover, it provides a way to share variables (state) across multiple scenes making it powerful for multi-scene Unity project.\n\n## Features\n\n- **ScriptableObject Variables** - A set of variables that can be used to store and share state across scenes.\n    - Simply extend the [`VariableBaseSO\u003cT\u003e`](Runtime/Base/VariableBaseSO.cs) class to create your own variable types, see examples in\n      the [BoolVariable](Runtime/Primitive/BoolVariable.cs) folder.\n    - Watchable Variables - You can subscribe to `onValueChanged` event to get notified when the value changes.\n- **References** - A way to reference variables or inlined values in the Project (changeable in the Inspector).\n    - You can directly set the value in the Inspector or reference a variable.\n    - This makes flexible go to choice how to use the variables or inlined values in your scripts.\n- **Variable Modifiers** - Wrapper classes that allow you to modify the value of the variable in a specific way.\n    - For example, you can use the [`BoolModifier`](Runtime/Modifiers/BoolModifier.cs)\n- **Variable Aggregations** - A set of classes that allow you to aggregate multiple variables into one.\n    - For example, you can use the [`BoolAggregation`](Runtime/Aggregations/BoolAggregation.cs) to aggregate multiple boolean variables into one.\n\n## Installation\n\nInstall the package using npm scoped registry in `Project Settings \u003e Package Manager \u003e Scoped Registries`\n\n[Unity Docs - Install a UPM package from a Git URL](https://docs.unity3d.com/6000.1/Documentation/Manual/upm-ui-giturl.html)\n\n```json\n{\n    \"name\": \"NPM - xprees\",\n    \"url\": \"https://registry.npmjs.org\",\n    \"scopes\": [\n        \"cz.xprees\",\n        \"com.dbrizov.naughtyattributes\"\n    ]\n}\n\n```\n\nThen simply install the package using the Unity Package Manager using the _NPM - xprees_ scope or by the package name `cz.xprees.variables`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxprees%2Funity-variables","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxprees%2Funity-variables","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxprees%2Funity-variables/lists"}