public void Repaint() { if (HLEditor != null) { //Debug.Log("Repaint\n"); HLEditor.Repaint(); } }
protected HelpMessage OutputMessage(string message, MessageType typeOfMessage = MessageType.None) { if (outputMessages == null) { outputMessages = new List <HelpMessage>(); } HelpMessage newMessage = new HelpMessage(message, typeOfMessage); outputMessages.Add(newMessage); if (HLEditor != null) { //Tell our window we had a message (which scrolls to the bottom if it was an error) HLEditor.AddOutputMessage(this, newMessage); } return(newMessage); }