public MessageSettings(MessageSettings other) { this.title = other.title; this.message=other.message; this.icon = other.icon; this.color=other.color; this.delay=other.delay; this.duration=other.duration; this.ignoreTimeScale=other.ignoreTimeScale; }
/// <summary> /// Open the MessageBox /// </summary> /// <param name="settings">Settings.</param> /// <param name="result">Result.</param> /// <param name="buttons">Buttons.</param> public virtual void Open(MessageSettings settings,UnityAction<string> result,params string[] buttons) { Open (settings.title, UIWindow.ColorString(settings.message,settings.color), settings.icon, result, buttons); }