public void AddMessage(string user, string body, PlrMessageType type) { Message m = new Message(); m.user = user; m.body = body; m.mType = type; ChatMsgs.Add(m); Redraw(); }
public void ChangeType(PlrMessageType type) { CurrentType = type; if (CurrentType == PlrMessageType.Whisper) { ChatInput.color = Color.blue; } else { ChatInput.color = Color.black; } }
public void ChangeType(PlrMessageType type) { CurrentType = type; if(CurrentType == PlrMessageType.Whisper) { ChatInput.color = Color.blue; } else { ChatInput.color = Color.black; } }