Hello!
Is there a sort of “limit” for what can be showed in the inspector?
I have this:
public class GameEngine : MonoBehaviour
{
public static GameEngine ge;
[Header("Pulsanti")]
public GameObject[] Btn;
public Button[] pulsante;
[Header("Testi")]
public TextMeshProUGUI[] Btn_TXT;
[Header("Strighe")]
public string[] Frasi;
public List<int> listaFrasiEstratte = new List<int>();
public List<int> listaPulsantiEstratti = new List<int>();
private int fraseEstratta, pulsanteEstratto, rispostaEsatta, pulsantiAssegnati, turno, pulsanteEsatto;
private IEnumerator schermoErrore;
public TextMeshProUGUI messaggio;
public GameObject no;
As you can see there are some “public” stuff to be shown on the inspector but … the last I added on my script
public Button[] pulsante
is not showing in the inspector, even though I’ve try with [SerializeField] option
Do you have any tips for this issue?
Thanks a lot!