From 5aa27282daa5c4f31cc0bf893ab8c012d5425381 Mon Sep 17 00:00:00 2001 From: Mitchell Adair Date: Sat, 15 Feb 2020 18:20:21 -0500 Subject: [PATCH] update path in example --- doc/API/CraftStudio Extensions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/API/CraftStudio Extensions.md b/doc/API/CraftStudio Extensions.md index ab48ced..63b606c 100644 --- a/doc/API/CraftStudio Extensions.md +++ b/doc/API/CraftStudio Extensions.md @@ -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")) ```