2D Toolkit Forum

2D Toolkit => Support => Topic started by: nicmar on November 08, 2014, 10:55:28 pm

Title: The name 'tk2dTextMesh' does not denote a valid type
Post by: nicmar on November 08, 2014, 10:55:28 pm
I just bought 2D toolkit, looks very fun and promising, and I'm trying the tutorial on text meshes. Everything worked fine until the scripting part.

Even the first line of code gives me an error:
Code: [Select]
private var textMesh : tk2dTextMesh;
The name 'tk2dTextMesh' does not denote a valid type ('not found')

Did I miss something?


EDIT: The CS-script works, but not the JS. I need the JS since I will put it inside another JS-script. Thanks for any help! :)
Title: Re: The name 'tk2dTextMesh' does not denote a valid type
Post by: unikronsoftware on November 09, 2014, 03:53:34 pm
Take a look at this
http://2dtoolkit.com/forum/index.php/topic,33.0.html
Title: Re: The name 'tk2dTextMesh' does not denote a valid type
Post by: nicmar on November 09, 2014, 11:21:22 pm
Thanks for the quick reply, it worked! :)