// You Can as well do this with "ScrpitableObject"s
public class MyClass : MonoBehaviour {
// Make sure that your field type is actually displayable on the inspector
[SerializeField] var myPrivateField
{
//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;