|
@@ -245,6 +245,7 @@ namespace KairoEngine.Core
|
|
|
|
|
|
public static Dictionary<string, System.Action<string, float>> stringFloatList = new Dictionary<string, System.Action<string, float>>();
|
|
public static Dictionary<string, System.Action<string, float>> stringFloatList = new Dictionary<string, System.Action<string, float>>();
|
|
|
|
|
|
|
|
+ public static void StartListeningForStringFloat(string title, System.Action<string, float> listener) => StartListening(title, listener);
|
|
public static void StartListening(string title, System.Action<string, float> listener)
|
|
public static void StartListening(string title, System.Action<string, float> listener)
|
|
{
|
|
{
|
|
System.Action<string, float> action = null;
|
|
System.Action<string, float> action = null;
|
|
@@ -260,6 +261,7 @@ namespace KairoEngine.Core
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ public static void StopListeningForStringFloat(string title, System.Action<string, float> listener) => StopListening(title, listener);
|
|
public static void StopListening(string title, System.Action<string, float> listener)
|
|
public static void StopListening(string title, System.Action<string, float> listener)
|
|
{
|
|
{
|
|
System.Action<string, float> action = null;
|
|
System.Action<string, float> action = null;
|