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. Only applicable when style is |
| AnimationCurve alphaCurve | Animation curve for alpha. Only applicable when style is |
| float lifetime | Time to keep text visible. Only applicable when style is |