Skip to content

Commit f1d63b4

Browse files
authored
Define them as functions, put the Class before the classes
1 parent 3e26e50 commit f1d63b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/en-us/reference/engine/classes/CurveAnimation.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,15 @@ description: |
5353
5454
If you want to preview an Animation before uploading it to the Roblox site,
5555
you can generate a temporary id using
56-
`AnimationClipProvider:RegisterAnimationClip`. This generates a hash
56+
`Class.AnimationClipProvider:RegisterAnimationClip()`. This generates a hash
5757
id that you can use for localized animation testing.
5858
5959
## Obtaining CurveAnimations
6060
6161
As for other `Class.AnimationClip` types (such as `Class.KeyframeSequence`),
6262
if you want to download the CurveAnimation corresponding to an existing
6363
uploaded Animation using Luau scripts, use
64-
AnimationClipProvider:AnimationClipAsync.
64+
`Class.AnimationClipProvider:GetAnimationClipAsync()`.
6565
code_samples: []
6666
inherits:
6767
- AnimationClip

0 commit comments

Comments
 (0)