WKLib 0.2.3
A modding library for White Knuckle
Loading...
Searching...
No Matches
PopupSettings.cs
Go to the documentation of this file.
1using UnityEngine;
2
3namespace WKLib.API.UI;
4
5public class PopupSettings
6{
7 public PopupSettings() { }
8 public PopupSettings(string text, float seconds = 2.5f)
9 {
10 PopupText = text;
11 PopupTime = seconds;
12
13 TimeTillClose = Time.realtimeSinceStartup + PopupTime;
14 }
15
16 public string PopupText = "";
17 public float PopupTime = 2.5f;
18
19 public float TimeTillClose = -1f;
20}
PopupSettings(string text, float seconds=2.5f)