fr.jeanf.eventsystem 0.1.112 → 0.1.113

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.
@@ -0,0 +1,16 @@
1
+ using jeanf.EventSystem;
2
+ using System.Collections;
3
+ using System.Collections.Generic;
4
+ using UnityEngine;
5
+ using UnityEngine.Events;
6
+
7
+ [CreateAssetMenu(menuName = "Events/Bool Float Event Channel")]
8
+ public class BoolFloatEventChannelSO : DescriptionBaseSO, RaiseEvent
9
+ {
10
+ public UnityAction<bool, float> OnEventRaised;
11
+
12
+ public void RaiseEvent(bool boolean, float value)
13
+ {
14
+ OnEventRaised?.Invoke(boolean, value);
15
+ }
16
+ }
@@ -0,0 +1,11 @@
1
+ fileFormatVersion: 2
2
+ guid: cde442c4cd5b131498a9de37dcd6f41d
3
+ MonoImporter:
4
+ externalObjects: {}
5
+ serializedVersion: 2
6
+ defaultReferences: []
7
+ executionOrder: 0
8
+ icon: {instanceID: 0}
9
+ userData:
10
+ assetBundleName:
11
+ assetBundleVariant:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fr.jeanf.eventsystem",
3
- "version": "0.1.112",
3
+ "version": "0.1.113",
4
4
  "displayName": "Event System",
5
5
  "description": "This package contains a basic Event System based on Scriptable Objects as communication medium",
6
6
  "unity": "2021.3",