fr.jeanf.eventsystem 0.0.6 → 0.1.1

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.6",
3
+ "version":"0.1.1",
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,13 +14,9 @@
14
14
  "url":"https://jeanfrancoisrobin.art"
15
15
  },
16
16
  "dependencies": {
17
+ "fr.jeanf.propertydrawer": "1.0.0"
17
18
  },
18
19
  "samples": [
19
- {
20
- "displayName": "Default Channels",
21
- "description": "A set of useful default channels",
22
- "path": "Samples/DefaultChannels"
23
- },
24
20
  {
25
21
  "displayName": "Player Channels",
26
22
  "description": "A set of channels used for the vr_player package",
@@ -1,16 +0,0 @@
1
- %YAML 1.1
2
- %TAG !u! tag:unity3d.com,2011:
3
- --- !u!114 &11400000
4
- MonoBehaviour:
5
- m_ObjectHideFlags: 0
6
- m_CorrespondingSourceObject: {fileID: 0}
7
- m_PrefabInstance: {fileID: 0}
8
- m_PrefabAsset: {fileID: 0}
9
- m_GameObject: {fileID: 0}
10
- m_Enabled: 1
11
- m_EditorHideFlags: 0
12
- m_Script: {fileID: 11500000, guid: e0ed7a8546959a8479bb135ed3cf5fc1, type: 3}
13
- m_Name: Bool Message Channel SO
14
- m_EditorClassIdentifier:
15
- _guid:
16
- description:
@@ -1,8 +0,0 @@
1
- fileFormatVersion: 2
2
- guid: a792e172a947c2642ba84b75cfd72630
3
- NativeFormatImporter:
4
- externalObjects: {}
5
- mainObjectFileID: 11400000
6
- userData:
7
- assetBundleName:
8
- assetBundleVariant:
@@ -1,16 +0,0 @@
1
- %YAML 1.1
2
- %TAG !u! tag:unity3d.com,2011:
3
- --- !u!114 &11400000
4
- MonoBehaviour:
5
- m_ObjectHideFlags: 0
6
- m_CorrespondingSourceObject: {fileID: 0}
7
- m_PrefabInstance: {fileID: 0}
8
- m_PrefabAsset: {fileID: 0}
9
- m_GameObject: {fileID: 0}
10
- m_Enabled: 1
11
- m_EditorHideFlags: 0
12
- m_Script: {fileID: 11500000, guid: 915737b55ba9fa344b3172aac9107aea, type: 3}
13
- m_Name: Int Message Channel SO
14
- m_EditorClassIdentifier:
15
- _guid:
16
- description:
@@ -1,8 +0,0 @@
1
- fileFormatVersion: 2
2
- guid: 1175546477ac3df4c9cd44d9a752719b
3
- NativeFormatImporter:
4
- externalObjects: {}
5
- mainObjectFileID: 11400000
6
- userData:
7
- assetBundleName:
8
- assetBundleVariant:
@@ -1,18 +0,0 @@
1
- %YAML 1.1
2
- %TAG !u! tag:unity3d.com,2011:
3
- --- !u!114 &11400000
4
- MonoBehaviour:
5
- m_ObjectHideFlags: 0
6
- m_CorrespondingSourceObject: {fileID: 0}
7
- m_PrefabInstance: {fileID: 0}
8
- m_PrefabAsset: {fileID: 0}
9
- m_GameObject: {fileID: 0}
10
- m_Enabled: 1
11
- m_EditorHideFlags: 0
12
- m_Script: {fileID: 11500000, guid: b842bdeec62cc754093c6a5120ac1107, type: 3}
13
- m_Name: String Message Channel SO
14
- m_EditorClassIdentifier:
15
- _guid: a3f2d4caf87f6994092b3187963f8dc3
16
- description: '
17
-
18
- '
@@ -1,8 +0,0 @@
1
- fileFormatVersion: 2
2
- guid: a3f2d4caf87f6994092b3187963f8dc3
3
- NativeFormatImporter:
4
- externalObjects: {}
5
- mainObjectFileID: 11400000
6
- userData:
7
- assetBundleName:
8
- assetBundleVariant:
@@ -1,16 +0,0 @@
1
- %YAML 1.1
2
- %TAG !u! tag:unity3d.com,2011:
3
- --- !u!114 &11400000
4
- MonoBehaviour:
5
- m_ObjectHideFlags: 0
6
- m_CorrespondingSourceObject: {fileID: 0}
7
- m_PrefabInstance: {fileID: 0}
8
- m_PrefabAsset: {fileID: 0}
9
- m_GameObject: {fileID: 0}
10
- m_Enabled: 1
11
- m_EditorHideFlags: 0
12
- m_Script: {fileID: 11500000, guid: 1934f43c6c0f2644a91b0c2f8506674b, type: 3}
13
- m_Name: TeleportObject Message Channel SO
14
- m_EditorClassIdentifier:
15
- _guid:
16
- description:
@@ -1,8 +0,0 @@
1
- fileFormatVersion: 2
2
- guid: b1dffd642de0fac4a90d543373f549b3
3
- NativeFormatImporter:
4
- externalObjects: {}
5
- mainObjectFileID: 11400000
6
- userData:
7
- assetBundleName:
8
- assetBundleVariant:
@@ -1,16 +0,0 @@
1
- %YAML 1.1
2
- %TAG !u! tag:unity3d.com,2011:
3
- --- !u!114 &11400000
4
- MonoBehaviour:
5
- m_ObjectHideFlags: 0
6
- m_CorrespondingSourceObject: {fileID: 0}
7
- m_PrefabInstance: {fileID: 0}
8
- m_PrefabAsset: {fileID: 0}
9
- m_GameObject: {fileID: 0}
10
- m_Enabled: 1
11
- m_EditorHideFlags: 0
12
- m_Script: {fileID: 11500000, guid: 1934f43c6c0f2644a91b0c2f8506674b, type: 3}
13
- m_Name: TeleportPlayer Message Channel SO
14
- m_EditorClassIdentifier:
15
- _guid:
16
- description:
@@ -1,8 +0,0 @@
1
- fileFormatVersion: 2
2
- guid: 1f4ebbe85b2889240aed9a09667b4d1c
3
- NativeFormatImporter:
4
- externalObjects: {}
5
- mainObjectFileID: 11400000
6
- userData:
7
- assetBundleName:
8
- assetBundleVariant:
@@ -1,16 +0,0 @@
1
- %YAML 1.1
2
- %TAG !u! tag:unity3d.com,2011:
3
- --- !u!114 &11400000
4
- MonoBehaviour:
5
- m_ObjectHideFlags: 0
6
- m_CorrespondingSourceObject: {fileID: 0}
7
- m_PrefabInstance: {fileID: 0}
8
- m_PrefabAsset: {fileID: 0}
9
- m_GameObject: {fileID: 0}
10
- m_Enabled: 1
11
- m_EditorHideFlags: 0
12
- m_Script: {fileID: 11500000, guid: d84ad29ba75bd634eb5eda8abf406faf, type: 3}
13
- m_Name: Void Message Channel SO
14
- m_EditorClassIdentifier:
15
- _guid:
16
- description:
@@ -1,8 +0,0 @@
1
- fileFormatVersion: 2
2
- guid: 631d9ecbf45fec74f979d8b3df0d2c5b
3
- NativeFormatImporter:
4
- externalObjects: {}
5
- mainObjectFileID: 11400000
6
- userData:
7
- assetBundleName:
8
- assetBundleVariant:
@@ -1,8 +0,0 @@
1
- fileFormatVersion: 2
2
- guid: e1a08db3c25f9f641a1a5b1ed4a5c46c
3
- folderAsset: yes
4
- DefaultImporter:
5
- externalObjects: {}
6
- userData:
7
- assetBundleName:
8
- assetBundleVariant: