Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Question Why can't I use TMPro in Rebinding UI Sample

Discussion in 'Input System' started by erikmiculek, Jul 4, 2022.

  1. erikmiculek

    erikmiculek

    Joined:
    Mar 18, 2022
    Posts:
    6
    I tried using TMPro in Rebinding UI Sample for the Input System but when I add using TMPro it sayes
    Assets\Scripts\Rebinding UI\RebindActionUI.cs(5,7): error CS0246: The type or namespace name 'TMPro' could not be found (are you missing a using directive or an assembly reference?)
    Does anyone know how to fix it or why is it happening?
     
    Ringo_ri likes this.
  2. Velris

    Velris

    Joined:
    Nov 16, 2022
    Posts:
    1
    Did you find the solution ? I'm searching it today.
     
  3. spiney199

    spiney199

    Joined:
    Feb 11, 2021
    Posts:
    8,207
    Does the sample have an assembly definition the code is in? If so, you need to add a reference to the TMPro assembly definition.