protected override void Disconect() { if (ChatWindow != null) { ChatWindow.WriteLine( ChatWindow.GetTimeString(), "blue", "System", string.Format("<color=blue>{0} left the chat with a satisfaction of {1}</color>", Name, Mathf.Round(Satisfaction))); } else { Debug.LogWarning("ChatWindow not found on disconecting customer " + Name); } ContactItemController.Contact = null; GameManager.Instance.Game.CustomerQueue.Remove(this); ContactWindowController.Instance.Rebuild(); }
protected virtual void Disconect() { ChatWindow.WriteLine(ChatWindow.GetTimeString(), "blue", "System", string.Format("<color=blue>{0} left the chat</color>", Name)); }