Class Inspector

Hi All, I need help from a professional
I tried different ways, but it doesn’t work

I need to show for my class in the inspector everything that is in theTextMeshProUGUI
class

for example

class MyClass {
      public TextMeshProUGUI  textMeshProUGUI 
}

If that’s the exact code you’re using, then first, you need to make your class public, then mark it with the [Serializable] attribute, and finally, declare it as a variable in a MonoBehavior:

[Serializable]
public class MyClass {
   public TextMeshProUGUI textMeshProUGUI
}
public class SomeMonoBehaviour : MonoBehavior {
   public MyClass myClass;
}