fr.jeanf.eventsystem 0.1.0 → 0.1.2

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.
@@ -9,8 +9,8 @@ MonoBehaviour:
9
9
  m_GameObject: {fileID: 0}
10
10
  m_Enabled: 1
11
11
  m_EditorHideFlags: 0
12
- m_Script: {fileID: 11500000, guid: 915737b55ba9fa344b3172aac9107aea, type: 3}
13
- m_Name: Int Message Channel SO
12
+ m_Script: {fileID: 11500000, guid: 2fff979f934e8844ea0bb85ae8db36c7, type: 3}
13
+ m_Name: 102
14
14
  m_EditorClassIdentifier:
15
- _guid:
16
- description:
15
+ filters:
16
+ - 102
@@ -1,5 +1,5 @@
1
1
  fileFormatVersion: 2
2
- guid: b1dffd642de0fac4a90d543373f549b3
2
+ guid: 8ea164924aa2ae047adc99568b57a16a
3
3
  NativeFormatImporter:
4
4
  externalObjects: {}
5
5
  mainObjectFileID: 11400000
@@ -9,8 +9,8 @@ MonoBehaviour:
9
9
  m_GameObject: {fileID: 0}
10
10
  m_Enabled: 1
11
11
  m_EditorHideFlags: 0
12
- m_Script: {fileID: 11500000, guid: d84ad29ba75bd634eb5eda8abf406faf, type: 3}
13
- m_Name: Void Message Channel SO
12
+ m_Script: {fileID: 11500000, guid: 2fff979f934e8844ea0bb85ae8db36c7, type: 3}
13
+ m_Name: 103
14
14
  m_EditorClassIdentifier:
15
- _guid:
16
- description:
15
+ filters:
16
+ - 103
@@ -1,5 +1,5 @@
1
1
  fileFormatVersion: 2
2
- guid: 1175546477ac3df4c9cd44d9a752719b
2
+ guid: cd63123429003b246a849ac4e5c28844
3
3
  NativeFormatImporter:
4
4
  externalObjects: {}
5
5
  mainObjectFileID: 11400000
@@ -10,22 +10,19 @@ namespace jeanf.EventSystem
10
10
  public bool objectIsPlayer;
11
11
  public Transform objectToTeleport;
12
12
  public Transform targetDestination;
13
- public bool alignToTarget;
14
13
  public bool isUsingFilter;
15
14
  public FilterSO filter;
16
15
 
17
16
  public TeleportInformation(Transform targetDestination, bool alignToTarget)
18
17
  {
19
18
  this.targetDestination = targetDestination;
20
- this.alignToTarget = alignToTarget;
21
19
  this.objectIsPlayer = true;
22
20
  }
23
21
 
24
- public TeleportInformation(Transform objectToTeleport, Transform targetDestination, bool alignToTarget, bool objectIsPlayer, FilterSO filter, bool isUsingFilter)
22
+ public TeleportInformation(Transform objectToTeleport, Transform targetDestination, bool objectIsPlayer, FilterSO filter, bool isUsingFilter)
25
23
  {
26
24
  this.objectToTeleport = objectToTeleport;
27
25
  this.targetDestination = targetDestination;
28
- this.alignToTarget = alignToTarget;
29
26
  this.objectIsPlayer = objectIsPlayer;
30
27
  this.filter = filter;
31
28
  this.isUsingFilter = isUsingFilter;
@@ -10,7 +10,7 @@ MonoBehaviour:
10
10
  m_Enabled: 1
11
11
  m_EditorHideFlags: 0
12
12
  m_Script: {fileID: 11500000, guid: 1934f43c6c0f2644a91b0c2f8506674b, type: 3}
13
- m_Name: TeleportPlayer Message Channel SO
13
+ m_Name: Teleport Event Object Channel SO
14
14
  m_EditorClassIdentifier:
15
15
  _guid:
16
16
  description:
@@ -1,5 +1,5 @@
1
1
  fileFormatVersion: 2
2
- guid: a792e172a947c2642ba84b75cfd72630
2
+ guid: f1fbc67042305a742b23d28f13a98bec
3
3
  NativeFormatImporter:
4
4
  externalObjects: {}
5
5
  mainObjectFileID: 11400000
@@ -10,7 +10,7 @@ MonoBehaviour:
10
10
  m_Enabled: 1
11
11
  m_EditorHideFlags: 0
12
12
  m_Script: {fileID: 11500000, guid: 1934f43c6c0f2644a91b0c2f8506674b, type: 3}
13
- m_Name: TeleportObject Message Channel SO
13
+ m_Name: Teleport Event Player Channel SO
14
14
  m_EditorClassIdentifier:
15
15
  _guid:
16
16
  description:
@@ -1,5 +1,5 @@
1
1
  fileFormatVersion: 2
2
- guid: a3f2d4caf87f6994092b3187963f8dc3
2
+ guid: a03c9fca588e41848abdc740acc54aeb
3
3
  NativeFormatImporter:
4
4
  externalObjects: {}
5
5
  mainObjectFileID: 11400000
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name":"fr.jeanf.eventsystem",
3
- "version":"0.1.0",
3
+ "version":"0.1.2",
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,14 +14,9 @@
14
14
  "url":"https://jeanfrancoisrobin.art"
15
15
  },
16
16
  "dependencies": {
17
- "fr.jeanf.propertydrawer": "0.0.1"
17
+ "fr.jeanf.propertydrawer": "1.0.0"
18
18
  },
19
19
  "samples": [
20
- {
21
- "displayName": "Default Channels",
22
- "description": "A set of useful default channels",
23
- "path": "Samples/DefaultChannels"
24
- },
25
20
  {
26
21
  "displayName": "Player Channels",
27
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,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: 1f4ebbe85b2889240aed9a09667b4d1c
3
- NativeFormatImporter:
4
- externalObjects: {}
5
- mainObjectFileID: 11400000
6
- userData:
7
- assetBundleName:
8
- assetBundleVariant:
@@ -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: