Zeigen Sie private Felder in Unity Inspector
//Public variable would show in inspector
public float Bilal = 5;
[SerializeField]
//Private variable would not be shown in Inspector untill[SerializeField] assigned
private float Iqbal = 5;
M.Bilal Nawaz