fr.jeanf.eventsystem 0.1.123 → 0.1.124
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.
|
@@ -22,6 +22,13 @@ namespace jeanf.EventSystem
|
|
|
22
22
|
|
|
23
23
|
public void SendVoidEvent()
|
|
24
24
|
{
|
|
25
|
+
if (voidMessageChannel == null)
|
|
26
|
+
{
|
|
27
|
+
Debug.LogError($"[VoidEventSender] Missing voidMessageChannel reference on GameObject: {gameObject.name}. " +
|
|
28
|
+
$"Please assign a VoidEventChannelSO to this component.", this);
|
|
29
|
+
return;
|
|
30
|
+
}
|
|
31
|
+
|
|
25
32
|
voidMessageChannel.RaiseEvent();
|
|
26
33
|
}
|
|
27
34
|
}
|
package/package.json
CHANGED