I have a class with
[RequireComponent(typeof(Text))]
public class MyClass : MonoBehaviour
{
public Text _text = null;
}
it’s possible to apply this “required component” to my public Text variable when i add the script to a gameobject?