We recently updated all our libraries. We will publish posts detailing the updates over the next few days. This is the first one. In this version we, Added new attributes and drawers (Readonly, ReordableList, WarnIfNull). We also added a detailed…
If you have written a lot of game code, then you probably wrote something like this before: [crayon-65f96cc8da12c077378481/] The idea is, you check or calculate some value very often (every frame, for example), but only perform some action when it…
We introduced generators the first time in Extensions 1.2. Those early generators, while useful at times, were quite inflexible and too specific. In the latest version of Extensions (which came out yesterday!), we introduced the completely redesigned generators. A generator,…
A response curve is an easy-to-define piece-wise linear curve. They are described by Bob Alexander in AI Programming Wisdom in the article The Beauty of Response Curves. Below is an example: The curve above can be defined as follows: [crayon-65f96cc8db03f777409114/]…
We added generators to version 1.2 of Extensions. A generator, in our terminology, is an object that can give you new instances of a type on demand. (This is similar to random number generators, which gives you a new number whenever…
The newest version of our free extensions library is now available in the asset store: download it now. Here is what is new. We added response curves for float, Vector2, Vector3, Vector4 and Color. See ResponseCurveBase. added a Clock class…