Nobody can see your code so how can they advise you on it? Here’s how to post code on the forums: Using code tags properly
If the field isn’t public or it’s private but doesn’t have the [SerializeField] attribute on it then it won’t be serialized therefore it won’t show in the inspector.