Highlighter Utilities

How to use

This class allows you to call its functions from anywhere, and it provides the ability to create coroutines that run in four different modes: Linear, Smoothstep, Curve, and Gradient. Each coroutine has three C# Actions that allow you to inject custom code at different states of the coroutine: updateValues, onStart, and onEnd. The updateValues Action is called each update and has a float (or color when using gradient) parameter that allows you to create custom effects with the highlighter. The onStart and onEnd Actions are called once when the coroutine starts and ends, respectively.

You can look out how Actions work in C# here. Or just look on the examples of usage.

You can find out more about how Actions work in C# by following the provided link. Alternatively, you can also refer to examples of their usage in the API examples.

Last updated