CreateFloatingText
Method
Creates a floating text object
Parameters
Parameter | Description |
---|---|
string text | Text to render |
FloatingTextAnimStyle style | Animation style |
Vector3 position | Position to place floating text |
Vector3 force | Impulse force of the object once it appears |
Color color | Text color |
bool gravity | Use gravity? |
AnimationCurve scaleCurve | Animation curve for scaling |
AnimationCurve alphaCurve | Animation curve for alpha |
float lifetime | Time to keep text visible |