fr.jeanf.eventsystem 0.0.6 → 0.1.0
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.
|
@@ -11,6 +11,7 @@ namespace jeanf.EventSystem
|
|
|
11
11
|
public Transform objectToTeleport;
|
|
12
12
|
public Transform targetDestination;
|
|
13
13
|
public bool alignToTarget;
|
|
14
|
+
public bool isUsingFilter;
|
|
14
15
|
public FilterSO filter;
|
|
15
16
|
|
|
16
17
|
public TeleportInformation(Transform targetDestination, bool alignToTarget)
|
|
@@ -20,13 +21,14 @@ namespace jeanf.EventSystem
|
|
|
20
21
|
this.objectIsPlayer = true;
|
|
21
22
|
}
|
|
22
23
|
|
|
23
|
-
public TeleportInformation(Transform objectToTeleport, Transform targetDestination, bool alignToTarget, bool objectIsPlayer, FilterSO filter)
|
|
24
|
+
public TeleportInformation(Transform objectToTeleport, Transform targetDestination, bool alignToTarget, bool objectIsPlayer, FilterSO filter, bool isUsingFilter)
|
|
24
25
|
{
|
|
25
26
|
this.objectToTeleport = objectToTeleport;
|
|
26
27
|
this.targetDestination = targetDestination;
|
|
27
28
|
this.alignToTarget = alignToTarget;
|
|
28
29
|
this.objectIsPlayer = objectIsPlayer;
|
|
29
30
|
this.filter = filter;
|
|
31
|
+
this.isUsingFilter = isUsingFilter;
|
|
30
32
|
}
|
|
31
33
|
}
|
|
32
34
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name":"fr.jeanf.eventsystem",
|
|
3
|
-
"version":"0.0
|
|
3
|
+
"version":"0.1.0",
|
|
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",
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
"url":"https://jeanfrancoisrobin.art"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
+
"fr.jeanf.propertydrawer": "0.0.1"
|
|
17
18
|
},
|
|
18
19
|
"samples": [
|
|
19
20
|
{
|