예제 #1
0
 /// <summary>
 /// Display an alert if there is conflicts detected.
 /// </summary>
 /// <param name="conflicts">True if conflicts exist.</param>
 void OnConflictStatusChange(bool conflicts)
 {
     if (conflicts)
     {
         m_View.AddAlert(k_ConflictsDetectedId, AlertBox.AlertLevel.Alert, StringAssets.conflictsDetected);
     }
     else
     {
         m_View.RemoveAlert(k_ConflictsDetectedId);
     }
 }