{"id":23594204,"url":"https://github.com/rodrigoueda/com.rodrigoueda.unitybasecode","last_synced_at":"2026-04-27T08:32:12.087Z","repository":{"id":268836965,"uuid":"296119420","full_name":"rodrigoueda/com.rodrigoueda.unitybasecode","owner":"rodrigoueda","description":null,"archived":false,"fork":false,"pushed_at":"2021-08-28T04:31:53.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-17T14:09:17.326Z","etag":null,"topics":["package","unity","unity3d"],"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/rodrigoueda.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":"2020-09-16T18:45:20.000Z","updated_at":"2021-08-28T04:31:55.000Z","dependencies_parsed_at":"2024-12-19T07:47:46.231Z","dependency_job_id":"415ae525-d078-4006-885a-9662bc84033e","html_url":"https://github.com/rodrigoueda/com.rodrigoueda.unitybasecode","commit_stats":null,"previous_names":["rodrigoueda/com.rodrigoueda.unitybasecode"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/rodrigoueda/com.rodrigoueda.unitybasecode","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodrigoueda%2Fcom.rodrigoueda.unitybasecode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodrigoueda%2Fcom.rodrigoueda.unitybasecode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodrigoueda%2Fcom.rodrigoueda.unitybasecode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodrigoueda%2Fcom.rodrigoueda.unitybasecode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rodrigoueda","download_url":"https://codeload.github.com/rodrigoueda/com.rodrigoueda.unitybasecode/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodrigoueda%2Fcom.rodrigoueda.unitybasecode/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32329463,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"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":["package","unity","unity3d"],"created_at":"2024-12-27T09:16:09.408Z","updated_at":"2026-04-27T08:32:12.064Z","avatar_url":"https://github.com/rodrigoueda.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Unity Base Code\n\n## Installation\n\n\u003chttps://docs.unity3d.com/Packages/com.unity.package-manager-ui@2.1/manual/index.html\u003e\n\n```json\n{\n    \"dependencies\": {\n        \"com.rodrigoueda.unitybasecode\": \"https://github.com/rodrigoueda/com.rodrigoueda.unitybasecode.git#0.2.0\"\n    }\n}\n```\n\n## Unique identifier for every MonoBehaviour\n\nUse ``` BaseBehaviour ``` instead of the usual ``` MonoBehaviour ```.\n\n```C#\nusing UnityEngine;\nusing UnityBaseCode;\n\npublic class TestScript : BaseBehaviour\n{\n    protected override void Awake()\n    {\n        base.Awake();\n\n        print(guid);\n    }\n}\n```\n\n## Singleton usage\n\n```C#\nusing UnityEngine;\nusing UnityBaseCode;\n\npublic class TestSingleton : Singleton\u003cTestSingleton\u003e\n{\n    public void PrintTest()\n    {\n        print(\"Test\");\n    }\n}\n```\n\n```C#\nusing UnityEngine;\nusing UnityBaseCode;\n\npublic class TestScript : BaseBehaviour\n{\n    private void Start()\n    {\n        TestSingleton.Instance.PrintTest();\n    }\n}\n```\n\n## Hierarchy Header\n\nYou can create custom Headers for your hierarchy through **Project Settings** menu.\n\n![Hierarchy Header](https://gist.githubusercontent.com/rodrigoueda/c6a714d7cbbdc58641b89679e06d5efb/raw/a3886fde8d0fbc17824012f5809701487fae8f6f/HierarchyHeader.png)\n\nBy default, any GameObject with the name starting with \"**---**\" will be filter as a header.\nYou can create additional filters each with a custom style.\n\n**Filter Query** and **Replace Query** uses [Regex](https://docs.microsoft.com/en-us/dotnet/api/system.text.regularexpressions.regex?view=netcore-3.1)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frodrigoueda%2Fcom.rodrigoueda.unitybasecode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frodrigoueda%2Fcom.rodrigoueda.unitybasecode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frodrigoueda%2Fcom.rodrigoueda.unitybasecode/lists"}