Creates a basic remap.
Let's say you want to make a color bar go from 20, 50 when your health goes from 0, 100.
mathf.remap(20, 50, 0, 100, health); --> output a value between 20-50 based on health. Copy
mathf.remap(20, 50, 0, 100, health); --> output a value between 20-50 based on health.
Creates a basic remap.
Let's say you want to make a color bar go from 20, 50 when your health goes from 0, 100.