Select your preferred scripting language. All code snippets will be displayed in this language.
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
Closecolor | Constant color. |
A single constant color for the entire gradient.
gradient | A single gradient for evaluating against. |
Use one gradient when evaluating numbers along this Min-Max gradient.
min | The constant color describing the minimum colors to be evaluated. |
max | The constant color describing the maximum colors to be evaluated. |
Randomly select colors based on the interval between the minimum and maximum constants.
min | The gradient describing the minimum colors to be evaluated. |
max | The gradient describing the maximum colors to be evaluated. |
Randomly select colors based on the interval between the minimum and maximum gradients.