Fundamentals Program/Unity API Serialized Field Topic 3 of 12 in Unity API The SerializedField attribute in Unity allows you to expose private fields in the Inspector, making them editable while keeping them private in your code. More in Unity APIComponentsGetComponent<>()Serialized FieldInspectorDebuggingdebug.logMonoBehaviourAwakeStartUpdateOnEnableFixedUpdate PreviousGetComponent<>() NextInspector All 48 topics in the Fundamentals Program