Unity Engine documentationScript ReferenceUnityEngineUnityEngine.SerializationFormerlySerializedAsAttributeoldNameThe name of the field before the rename.Read time 1 minuteLast updated 6 days agoDefinition Type: Property Namespace: UnityEngine.Serialization Assembly: UnityEngine.CoreModule public string oldName { get; }