React based UI, allows user to use an Inspector component to edit an asset in real time.
In order for the asset to update itself, it needs to either:
- assign input values to its own parameters during the update loop. Use this pattern for parameters that are cheap to update, eg changing a material’s color or an object’s scale
- or add listeners to the input in order to update itself when the input value changes. Use this pattern for computationally expensive operations such as creating new objects.