fr.jeanf.eventsystem 0.1.74 → 0.1.75
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2,7 +2,7 @@ using UnityEngine;
|
|
|
2
2
|
|
|
3
3
|
namespace jeanf.EventSystem
|
|
4
4
|
{
|
|
5
|
-
public class
|
|
5
|
+
public class StringEventSender : MonoBehaviour, IDebugBehaviour
|
|
6
6
|
{
|
|
7
7
|
public bool isDebug
|
|
8
8
|
{
|
|
@@ -11,11 +11,11 @@ namespace jeanf.EventSystem
|
|
|
11
11
|
}
|
|
12
12
|
[SerializeField] private bool _isDebug = false;
|
|
13
13
|
|
|
14
|
-
[field: Header("Broadcasting on:")] public
|
|
14
|
+
[field: Header("Broadcasting on:")] public StringEventChannelSO stringMessageChannel;
|
|
15
15
|
|
|
16
|
-
public void
|
|
16
|
+
public void SendString(string value)
|
|
17
17
|
{
|
|
18
|
-
|
|
18
|
+
stringMessageChannel.RaiseEvent(value);
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
}
|
package/package.json
CHANGED