private void SetFormatPrefix(int value) { if (!m_isLoading) { Extension.SetCustomFormat(SelectedPrefix, (LineIconSpriteNames)Enum.Parse(typeof(LineIconSpriteNames), value.ToString())); UVMPublicTransportWorldInfoPanel.MarkDirty(GetType()); } }
private void OnPrefixNameChange(string val) { if (!m_isLoading) { Extension.SetName(SelectedPrefix, val); UVMPublicTransportWorldInfoPanel.MarkDirty(GetType()); } }