Page 1 of 1

The type or namespace name 'TMPro'

Posted: Tue Nov 08, 2022 7:52 am
by rauljl1
Hi, Tony.
I am trying to perform unit tests.
I imported the assembly definitions package and it's almost all set.
I only have 2 more errors:
Assets\Plugins\Pixel Crushers\Dialogue System\Scripts\UI\Utility\TextMeshProTypewriterEffect.cs(73,19): error CS0246: The type or namespace name 'TMPro' could not be found (are you missing a using directive or an assembly reference?)
Assets\Plugins\Pixel Crushers\Dialogue System\Scripts\UI\Utility\TextMeshProTypewriterEffect.cs(74,19): error CS0246: The type or namespace name 'TMPro' could not be found (are you missing a using directive or an assembly reference?)

Where should I put the assembly for it to work?
Thank you!

Re: The type or namespace name 'TMPro'

Posted: Tue Nov 08, 2022 8:14 am
by Tony Li
Hi,

The TextMesh Pro asmdef is in the Packages section (not the Assets section) of the Project view. Add Packages > TextMeshPro > Scripts > Runtime > Unity.TextMeshPro.asmdef to all four Dialogue System asmdefs (PixelCrushers, PixelCrushersEditor, DialogueSystem, and DialogueSystemEditor).