{"repo":"apkd/Medicine","free":true,"listed":false,"github":"https://github.com/apkd/Medicine","clone":"git clone https://github.com/apkd/Medicine.git","description":"A set of source generators and utilities for writing fast, simple and robust code in Unity.","language":"C#","stars":116,"topics":["unity","unity3d","unity3d-framework","dependency-injection","prototyping-tool","roslyn-source-generator"],"license":"MIT","category":"game-templates","readme_excerpt":"%3C&replace=%241&cacheSeconds=86400) Medicine is a Unity toolkit that combines Roslyn source generators with fast runtime helpers to eliminate common component boilerplate, improve prototyping velocity, and unlock new high-performance programming patterns. - Cache/validate component references by writing assignments inside an [Inject] method. - Implement singletons in a single line with [Singleton] . - Track active instances with [Track] and access them simply with T.Instances . - Easily write burstable Job System code by attaching data and TransformAccessArray s to components. - Allocation-free component enumeration utilities, convenient pooled lists, etc. - IDE analyzers and quick fixes for identifying mistakes and easily applying fixes and optimizations. - Emits highly optimized code, but with no performance penalty for features you aren't using. ##### Table of contents: - Installation - Quick start - [ [Inject] : generate cached properties](#1-inject-generate-cached-properties--debug-checks) - [ [Singleton] one active instance](#2-singleton-locate-the-single-active-instance) - [ [Track] : list of active instances](#3-track-locate-all-active-instances) - Advanced tracking features - IUnmanagedData : per-instance unmanaged arrays - TransformAccessArray tracking - IInstanceIndex : data indexing + O(1) unregister - IFindByID : map instances by ID - Other utilities - Allocation-free component enumeration - Convenience APIs for finding objects by type - Pooled lists - Lazy init","default_branch":null,"files":null,"tree":[],"storefront":"/r/apkd","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/apkd/Medicine/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}