Unity Doesnt Serialize int? field
问题 I have a class i want to change the properties of in the editor. So i made my class System.Serializable and made the variables public that i want to be able to change. Like so: [System.Serializable] public class UIOptionsRing { public float Radius, DistanceBetweenPoints, StartOffset, GapInDegrees; public int? GapAfterElementNumer = 3; //this var doesnt show up public Vector3 CircleCenter; public GameObject CircleElementsContainer; } But the problem i am having is that the GapAfterElementNumer