Skip to content

Commit

Permalink
update path in example
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchwadair authored Feb 15, 2020
1 parent 7fd25ba commit 5aa2728
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/API/CraftStudio Extensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ local mySpriteRendererEmpty = self.gameObject:CreateSpriteRenderer()
```
#### Creating with a Default Sprite
```cs
local mySpriteRenderer = self.gameObject:CreateSpriteRenderer(CS.FindAsset("path to Font Asset", "Font"))
local mySpriteRenderer = self.gameObject:CreateSpriteRenderer(CS.FindAsset("Sprites/Sample/SampleSprite", "Font"))
```

0 comments on commit 5aa2728

Please sign in to comment.