{"repo":"ZorPastaman/Simple-Blackboard","free":true,"listed":false,"github":"https://github.com/ZorPastaman/Simple-Blackboard","clone":"git clone https://github.com/ZorPastaman/Simple-Blackboard.git","description":"Simple Blackboard for Unity is a flexible runtime data container that can contain any count of properties of any type. The properties can be accessed with property names.","language":"C#","stars":59,"topics":["unity","blackboard","flexible","data-container","blackboard-multithreading","unity-component"],"license":"MIT","category":"game-templates","readme_excerpt":"Simple Blackboard Simple Blackboard for Unity is a flexible runtime data container that can contain any count of properties of any type. The properties can be accessed with property names. The main advantage of Simple Blackboard is that it allocates as little as possible. Also, it has good enough performance and supports derivation. Installation This repo is a regular Unity package. You can install it as your project dependency. More here: https://docs.unity3d.com/Manual/upm-dependencies.html. Usage Setup As a Unity component Add a [SimpleBlackboardContainer] to a GameObject in your scene. You can find it in Add Component/Simple Blackboard/Simple Blackboard Container . That component automatically creates a [Blackboard] inside on Awake(). You can access it via SimpleBlackboardContainer.blackboard property. As a regular c# class Simply create a [Blackboard] with its default constructor: new Blackboard() . You may get all the features of the Simple Blackboard this way too. [Blackboard] API - TryGetStructValue() tries to get and return a value of a specified struct type and a property name. - TryGetClassValue() tries to get and return a value of a specified class type and a property name. - TryGetObjectValue() tries to get and return a value of any type and a property name. - SetStructValue() sets a value of a specified struct type and a property name. - SetClassValue() sets a value of a specified class type and a property name. - SetObjectValue() sets a value of any type and a ","default_branch":null,"files":null,"tree":[],"storefront":"/r/ZorPastaman","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ZorPastaman/Simple-Blackboard/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."}