public Info(string content, LogAttribute logAttribute) { this.content = content; this.isUpdate = false; this.logAttribute = logAttribute; this.m_Timer = Time.realtimeSinceStartup; }
public void Log(string logText, float timer, LogAttribute logAttribute) { Log(logText, timer, logAttribute.icon, logAttribute.backgroundColor); }
public void Log(string logText, LogAttribute logAttribute) { Log(logText, logAttribute, defaultTimer); }
public void Log(string logText, LogAttribute logAttribute, float timer) { var info = new Info(logText, logAttribute); Log(info, timer); }
public void Log(string logText, float timer, Sprite icon, Color backgroundColor) { LogAttribute logAttribute = new LogAttribute(icon, backgroundColor); Log(logText, timer, logAttribute); }