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