// 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 {