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!
The type or namespace name 'TMPro'
Re: The type or namespace name 'TMPro'
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).
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).
-
- Posts: 76
- Joined: Wed Sep 25, 2024 11:26 pm
- Location: New York City
- Contact:
Re: The type or namespace name 'TMPro'
I have this same error message after installing Grid Controller and then the assemblies to add the Pixelcrushers Save System component to the Grid Controller. I don't know how to fix it. Thanks for any help.
Re: The type or namespace name 'TMPro'
Hi,
Inspect the assembly definition files, such as PixelCrushers.asmdef and DialogueSystem.asmdef, and add Unity.TextMeshPro to the Assembly Definition References list.
Inspect the assembly definition files, such as PixelCrushers.asmdef and DialogueSystem.asmdef, and add Unity.TextMeshPro to the Assembly Definition References list.
-
- Posts: 76
- Joined: Wed Sep 25, 2024 11:26 pm
- Location: New York City
- Contact:
Re: The type or namespace name 'TMPro'
Thank you so much.
Re: The type or namespace name 'TMPro'
Happy to help!