net.dreditor.talkables 0.1.6 → 0.1.8
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.
- package/.attestation.p7m +0 -0
- package/DREditor.Talkables.asmdef +18 -18
- package/DREditor.Talkables.asmdef.meta +7 -7
- package/ItemActor.cs +199 -199
- package/ItemActor.cs.meta +11 -11
- package/LookAtObjectOnSelection.cs +252 -252
- package/LookAtObjectOnSelection.cs.meta +11 -11
- package/MoveData.cs +48 -48
- package/MoveData.cs.meta +11 -11
- package/Moveable.cs +41 -41
- package/Moveable.cs.meta +11 -11
- package/PanToTalkableEvent.cs +52 -52
- package/PanToTalkableEvent.cs.meta +11 -11
- package/{Samples → Samples~}/Look_At_Object_On_Selection.prefab +56 -56
- package/{Samples → Samples~}/Look_At_Object_On_Selection.prefab.meta +7 -7
- package/{Samples → Samples~}/Pan_To_Talkable_Event.prefab +49 -49
- package/{Samples → Samples~}/Pan_To_Talkable_Event.prefab.meta +7 -7
- package/SpriteLookAtTarget.cs +170 -170
- package/SpriteLookAtTarget.cs.meta +11 -11
- package/Talkable.cs +152 -152
- package/Talkable.cs.meta +11 -11
- package/package.json +42 -37
- package/package.json.meta +7 -7
- package/Samples.meta +0 -8
package/Moveable.cs
CHANGED
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
//Author: Benjamin "Sweden" Jillson : Discord: sweden_gaming For Project Eden's Garden
|
|
2
|
-
using UnityEngine;
|
|
3
|
-
|
|
4
|
-
namespace DREditor.Talkables
|
|
5
|
-
{
|
|
6
|
-
/// <summary>
|
|
7
|
-
///
|
|
8
|
-
/// </summary>
|
|
9
|
-
[ClassHeader("")]
|
|
10
|
-
public class Moveable : MonoBehaviour
|
|
11
|
-
{
|
|
12
|
-
/// <summary>
|
|
13
|
-
///
|
|
14
|
-
/// </summary>
|
|
15
|
-
[HideInInspector] protected MoveData place = new();
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
/// <summary>
|
|
19
|
-
///
|
|
20
|
-
/// </summary>
|
|
21
|
-
/// <returns></returns>
|
|
22
|
-
public virtual MoveData Save()
|
|
23
|
-
{
|
|
24
|
-
place = new(gameObject.name, transform.position, transform.eulerAngles);
|
|
25
|
-
|
|
26
|
-
return (MoveData)place.Clone();
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
/// <summary>
|
|
30
|
-
///
|
|
31
|
-
/// </summary>
|
|
32
|
-
/// <param name="place"></param>
|
|
33
|
-
public virtual void Load(MoveData place)
|
|
34
|
-
{
|
|
35
|
-
this.place = place;
|
|
36
|
-
|
|
37
|
-
transform.position = place.position;
|
|
38
|
-
|
|
39
|
-
transform.eulerAngles = place.rotation;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
1
|
+
//Author: Benjamin "Sweden" Jillson : Discord: sweden_gaming For Project Eden's Garden
|
|
2
|
+
using UnityEngine;
|
|
3
|
+
|
|
4
|
+
namespace DREditor.Talkables
|
|
5
|
+
{
|
|
6
|
+
/// <summary>
|
|
7
|
+
///
|
|
8
|
+
/// </summary>
|
|
9
|
+
[ClassHeader("")]
|
|
10
|
+
public class Moveable : MonoBehaviour
|
|
11
|
+
{
|
|
12
|
+
/// <summary>
|
|
13
|
+
///
|
|
14
|
+
/// </summary>
|
|
15
|
+
[HideInInspector] protected MoveData place = new();
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
/// <summary>
|
|
19
|
+
///
|
|
20
|
+
/// </summary>
|
|
21
|
+
/// <returns></returns>
|
|
22
|
+
public virtual MoveData Save()
|
|
23
|
+
{
|
|
24
|
+
place = new(gameObject.name, transform.position, transform.eulerAngles);
|
|
25
|
+
|
|
26
|
+
return (MoveData)place.Clone();
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/// <summary>
|
|
30
|
+
///
|
|
31
|
+
/// </summary>
|
|
32
|
+
/// <param name="place"></param>
|
|
33
|
+
public virtual void Load(MoveData place)
|
|
34
|
+
{
|
|
35
|
+
this.place = place;
|
|
36
|
+
|
|
37
|
+
transform.position = place.position;
|
|
38
|
+
|
|
39
|
+
transform.eulerAngles = place.rotation;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
42
|
}
|
package/Moveable.cs.meta
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
fileFormatVersion: 2
|
|
2
|
-
guid: b456f3fdf8cd8014393cfbb582010878
|
|
3
|
-
MonoImporter:
|
|
4
|
-
externalObjects: {}
|
|
5
|
-
serializedVersion: 2
|
|
6
|
-
defaultReferences: []
|
|
7
|
-
executionOrder: 0
|
|
8
|
-
icon: {instanceID: 0}
|
|
9
|
-
userData:
|
|
10
|
-
assetBundleName:
|
|
11
|
-
assetBundleVariant:
|
|
1
|
+
fileFormatVersion: 2
|
|
2
|
+
guid: b456f3fdf8cd8014393cfbb582010878
|
|
3
|
+
MonoImporter:
|
|
4
|
+
externalObjects: {}
|
|
5
|
+
serializedVersion: 2
|
|
6
|
+
defaultReferences: []
|
|
7
|
+
executionOrder: 0
|
|
8
|
+
icon: {instanceID: 0}
|
|
9
|
+
userData:
|
|
10
|
+
assetBundleName:
|
|
11
|
+
assetBundleVariant:
|
package/PanToTalkableEvent.cs
CHANGED
|
@@ -1,53 +1,53 @@
|
|
|
1
|
-
//Author: Benjamin "Sweden" Jillson : Discord: sweden_gaming For Project Eden's Garden
|
|
2
|
-
using DREditor.DialogueEventHandling;
|
|
3
|
-
using DREditor.Dialogues.Events;
|
|
4
|
-
using UnityEngine;
|
|
5
|
-
|
|
6
|
-
namespace DREditor.Talkables
|
|
7
|
-
{
|
|
8
|
-
/// <summary>
|
|
9
|
-
///
|
|
10
|
-
/// </summary>
|
|
11
|
-
[ClassHeader(nameof(DialogueEventHandler) +
|
|
12
|
-
"\n\n")]
|
|
13
|
-
public class PanToTalkableEvent : DialogueEventHandler
|
|
14
|
-
{
|
|
15
|
-
/// <summary>
|
|
16
|
-
///
|
|
17
|
-
/// </summary>
|
|
18
|
-
[Tooltip("")]
|
|
19
|
-
[SerializeField] protected string toggleBlurEventString = "ToggleBlur";
|
|
20
|
-
|
|
21
|
-
/// <summary>
|
|
22
|
-
///
|
|
23
|
-
/// </summary>
|
|
24
|
-
[Tooltip("")]
|
|
25
|
-
[SerializeField] protected string dialogueEventStringMoveCamera = "PanToObject";
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
/// <summary>
|
|
29
|
-
///
|
|
30
|
-
/// </summary>
|
|
31
|
-
/// <param name="o"></param>
|
|
32
|
-
protected override void OnDialogueEventTriggered(object o = null)
|
|
33
|
-
{
|
|
34
|
-
if (o == null)
|
|
35
|
-
UnityEngine.Debug.LogWarning($"REPORT: {ToString()}: Sent talkable was null.");
|
|
36
|
-
|
|
37
|
-
Talkable talkable = (Talkable)o;
|
|
38
|
-
|
|
39
|
-
if (talkable is not ItemActor)
|
|
40
|
-
DialogueEventSystem.TriggerEvent(toggleBlurEventString, true);
|
|
41
|
-
|
|
42
|
-
if (talkable != null)
|
|
43
|
-
DialogueEventSystem.TriggerEvent(dialogueEventStringMoveCamera, talkable.body);
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
/// <summary>
|
|
48
|
-
///
|
|
49
|
-
/// </summary>
|
|
50
|
-
[ContextMenu("Set Default Event")]
|
|
51
|
-
public void SetDefaultEvent() => SetDefaultEventString("PanToTalkable");
|
|
52
|
-
}
|
|
1
|
+
//Author: Benjamin "Sweden" Jillson : Discord: sweden_gaming For Project Eden's Garden
|
|
2
|
+
using DREditor.DialogueEventHandling;
|
|
3
|
+
using DREditor.Dialogues.Events;
|
|
4
|
+
using UnityEngine;
|
|
5
|
+
|
|
6
|
+
namespace DREditor.Talkables
|
|
7
|
+
{
|
|
8
|
+
/// <summary>
|
|
9
|
+
///
|
|
10
|
+
/// </summary>
|
|
11
|
+
[ClassHeader(nameof(DialogueEventHandler) +
|
|
12
|
+
"\n\n")]
|
|
13
|
+
public class PanToTalkableEvent : DialogueEventHandler
|
|
14
|
+
{
|
|
15
|
+
/// <summary>
|
|
16
|
+
///
|
|
17
|
+
/// </summary>
|
|
18
|
+
[Tooltip("")]
|
|
19
|
+
[SerializeField] protected string toggleBlurEventString = "ToggleBlur";
|
|
20
|
+
|
|
21
|
+
/// <summary>
|
|
22
|
+
///
|
|
23
|
+
/// </summary>
|
|
24
|
+
[Tooltip("")]
|
|
25
|
+
[SerializeField] protected string dialogueEventStringMoveCamera = "PanToObject";
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
/// <summary>
|
|
29
|
+
///
|
|
30
|
+
/// </summary>
|
|
31
|
+
/// <param name="o"></param>
|
|
32
|
+
protected override void OnDialogueEventTriggered(object o = null)
|
|
33
|
+
{
|
|
34
|
+
if (o == null)
|
|
35
|
+
UnityEngine.Debug.LogWarning($"REPORT: {ToString()}: Sent talkable was null.");
|
|
36
|
+
|
|
37
|
+
Talkable talkable = (Talkable)o;
|
|
38
|
+
|
|
39
|
+
if (talkable is not ItemActor)
|
|
40
|
+
DialogueEventSystem.TriggerEvent(toggleBlurEventString, true);
|
|
41
|
+
|
|
42
|
+
if (talkable != null)
|
|
43
|
+
DialogueEventSystem.TriggerEvent(dialogueEventStringMoveCamera, talkable.body);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
/// <summary>
|
|
48
|
+
///
|
|
49
|
+
/// </summary>
|
|
50
|
+
[ContextMenu("Set Default Event")]
|
|
51
|
+
public void SetDefaultEvent() => SetDefaultEventString("PanToTalkable");
|
|
52
|
+
}
|
|
53
53
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
fileFormatVersion: 2
|
|
2
|
-
guid: 4025664e1e212e8428d4e0cfaa874dcf
|
|
3
|
-
MonoImporter:
|
|
4
|
-
externalObjects: {}
|
|
5
|
-
serializedVersion: 2
|
|
6
|
-
defaultReferences: []
|
|
7
|
-
executionOrder: 0
|
|
8
|
-
icon: {instanceID: 0}
|
|
9
|
-
userData:
|
|
10
|
-
assetBundleName:
|
|
11
|
-
assetBundleVariant:
|
|
1
|
+
fileFormatVersion: 2
|
|
2
|
+
guid: 4025664e1e212e8428d4e0cfaa874dcf
|
|
3
|
+
MonoImporter:
|
|
4
|
+
externalObjects: {}
|
|
5
|
+
serializedVersion: 2
|
|
6
|
+
defaultReferences: []
|
|
7
|
+
executionOrder: 0
|
|
8
|
+
icon: {instanceID: 0}
|
|
9
|
+
userData:
|
|
10
|
+
assetBundleName:
|
|
11
|
+
assetBundleVariant:
|
|
@@ -1,56 +1,56 @@
|
|
|
1
|
-
%YAML 1.1
|
|
2
|
-
%TAG !u! tag:unity3d.com,2011:
|
|
3
|
-
--- !u!1 &8805768200422373649
|
|
4
|
-
GameObject:
|
|
5
|
-
m_ObjectHideFlags: 0
|
|
6
|
-
m_CorrespondingSourceObject: {fileID: 0}
|
|
7
|
-
m_PrefabInstance: {fileID: 0}
|
|
8
|
-
m_PrefabAsset: {fileID: 0}
|
|
9
|
-
serializedVersion: 6
|
|
10
|
-
m_Component:
|
|
11
|
-
- component: {fileID: 8805768200422373648}
|
|
12
|
-
- component: {fileID: 8805768200422373871}
|
|
13
|
-
m_Layer: 0
|
|
14
|
-
m_Name: Look_At_Object_On_Selection
|
|
15
|
-
m_TagString: Untagged
|
|
16
|
-
m_Icon: {fileID: 0}
|
|
17
|
-
m_NavMeshLayer: 0
|
|
18
|
-
m_StaticEditorFlags: 0
|
|
19
|
-
m_IsActive: 1
|
|
20
|
-
--- !u!4 &8805768200422373648
|
|
21
|
-
Transform:
|
|
22
|
-
m_ObjectHideFlags: 0
|
|
23
|
-
m_CorrespondingSourceObject: {fileID: 0}
|
|
24
|
-
m_PrefabInstance: {fileID: 0}
|
|
25
|
-
m_PrefabAsset: {fileID: 0}
|
|
26
|
-
m_GameObject: {fileID: 8805768200422373649}
|
|
27
|
-
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
|
28
|
-
m_LocalPosition: {x: 0, y: 0, z: 0}
|
|
29
|
-
m_LocalScale: {x: 1, y: 1, z: 1}
|
|
30
|
-
m_ConstrainProportionsScale: 0
|
|
31
|
-
m_Children: []
|
|
32
|
-
m_Father: {fileID: 0}
|
|
33
|
-
m_RootOrder: 0
|
|
34
|
-
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
35
|
-
--- !u!114 &8805768200422373871
|
|
36
|
-
MonoBehaviour:
|
|
37
|
-
m_ObjectHideFlags: 0
|
|
38
|
-
m_CorrespondingSourceObject: {fileID: 0}
|
|
39
|
-
m_PrefabInstance: {fileID: 0}
|
|
40
|
-
m_PrefabAsset: {fileID: 0}
|
|
41
|
-
m_GameObject: {fileID: 8805768200422373649}
|
|
42
|
-
m_Enabled: 1
|
|
43
|
-
m_EditorHideFlags: 0
|
|
44
|
-
m_Script: {fileID: 11500000, guid: 3b8f413b18872e648a74a6bf8378b84c, type: 3}
|
|
45
|
-
m_Name:
|
|
46
|
-
m_EditorClassIdentifier:
|
|
47
|
-
prepareOrder: 1
|
|
48
|
-
resolveOrder: 1
|
|
49
|
-
finishOrder: 4
|
|
50
|
-
finishPreparerID: 2
|
|
51
|
-
inDialogue: {fileID: 11400000, guid: b2839fc222ba4bc4eb8bcfee73b0c53d, type: 2}
|
|
52
|
-
inTPFD: {fileID: 11400000, guid: 7f90df5202cae904292188e37c9076d3, type: 2}
|
|
53
|
-
isLoadingFile: {fileID: 11400000, guid: 1d94fdc8796dc9f43b2a3bedb0f5d4dd, type: 2}
|
|
54
|
-
dialogueCameraToMainEventString: DialogueCameraToMainCamera
|
|
55
|
-
mainCameraTag: MainCamera
|
|
56
|
-
lookAtPlayerTime: 1
|
|
1
|
+
%YAML 1.1
|
|
2
|
+
%TAG !u! tag:unity3d.com,2011:
|
|
3
|
+
--- !u!1 &8805768200422373649
|
|
4
|
+
GameObject:
|
|
5
|
+
m_ObjectHideFlags: 0
|
|
6
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
7
|
+
m_PrefabInstance: {fileID: 0}
|
|
8
|
+
m_PrefabAsset: {fileID: 0}
|
|
9
|
+
serializedVersion: 6
|
|
10
|
+
m_Component:
|
|
11
|
+
- component: {fileID: 8805768200422373648}
|
|
12
|
+
- component: {fileID: 8805768200422373871}
|
|
13
|
+
m_Layer: 0
|
|
14
|
+
m_Name: Look_At_Object_On_Selection
|
|
15
|
+
m_TagString: Untagged
|
|
16
|
+
m_Icon: {fileID: 0}
|
|
17
|
+
m_NavMeshLayer: 0
|
|
18
|
+
m_StaticEditorFlags: 0
|
|
19
|
+
m_IsActive: 1
|
|
20
|
+
--- !u!4 &8805768200422373648
|
|
21
|
+
Transform:
|
|
22
|
+
m_ObjectHideFlags: 0
|
|
23
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
24
|
+
m_PrefabInstance: {fileID: 0}
|
|
25
|
+
m_PrefabAsset: {fileID: 0}
|
|
26
|
+
m_GameObject: {fileID: 8805768200422373649}
|
|
27
|
+
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
|
28
|
+
m_LocalPosition: {x: 0, y: 0, z: 0}
|
|
29
|
+
m_LocalScale: {x: 1, y: 1, z: 1}
|
|
30
|
+
m_ConstrainProportionsScale: 0
|
|
31
|
+
m_Children: []
|
|
32
|
+
m_Father: {fileID: 0}
|
|
33
|
+
m_RootOrder: 0
|
|
34
|
+
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
35
|
+
--- !u!114 &8805768200422373871
|
|
36
|
+
MonoBehaviour:
|
|
37
|
+
m_ObjectHideFlags: 0
|
|
38
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
39
|
+
m_PrefabInstance: {fileID: 0}
|
|
40
|
+
m_PrefabAsset: {fileID: 0}
|
|
41
|
+
m_GameObject: {fileID: 8805768200422373649}
|
|
42
|
+
m_Enabled: 1
|
|
43
|
+
m_EditorHideFlags: 0
|
|
44
|
+
m_Script: {fileID: 11500000, guid: 3b8f413b18872e648a74a6bf8378b84c, type: 3}
|
|
45
|
+
m_Name:
|
|
46
|
+
m_EditorClassIdentifier:
|
|
47
|
+
prepareOrder: 1
|
|
48
|
+
resolveOrder: 1
|
|
49
|
+
finishOrder: 4
|
|
50
|
+
finishPreparerID: 2
|
|
51
|
+
inDialogue: {fileID: 11400000, guid: b2839fc222ba4bc4eb8bcfee73b0c53d, type: 2}
|
|
52
|
+
inTPFD: {fileID: 11400000, guid: 7f90df5202cae904292188e37c9076d3, type: 2}
|
|
53
|
+
isLoadingFile: {fileID: 11400000, guid: 1d94fdc8796dc9f43b2a3bedb0f5d4dd, type: 2}
|
|
54
|
+
dialogueCameraToMainEventString: DialogueCameraToMainCamera
|
|
55
|
+
mainCameraTag: MainCamera
|
|
56
|
+
lookAtPlayerTime: 1
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
fileFormatVersion: 2
|
|
2
|
-
guid: 103575924a9374b4097c2ab462ba4f6f
|
|
3
|
-
PrefabImporter:
|
|
4
|
-
externalObjects: {}
|
|
5
|
-
userData:
|
|
6
|
-
assetBundleName:
|
|
7
|
-
assetBundleVariant:
|
|
1
|
+
fileFormatVersion: 2
|
|
2
|
+
guid: 103575924a9374b4097c2ab462ba4f6f
|
|
3
|
+
PrefabImporter:
|
|
4
|
+
externalObjects: {}
|
|
5
|
+
userData:
|
|
6
|
+
assetBundleName:
|
|
7
|
+
assetBundleVariant:
|
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
%YAML 1.1
|
|
2
|
-
%TAG !u! tag:unity3d.com,2011:
|
|
3
|
-
--- !u!1 &454916263186187600
|
|
4
|
-
GameObject:
|
|
5
|
-
m_ObjectHideFlags: 0
|
|
6
|
-
m_CorrespondingSourceObject: {fileID: 0}
|
|
7
|
-
m_PrefabInstance: {fileID: 0}
|
|
8
|
-
m_PrefabAsset: {fileID: 0}
|
|
9
|
-
serializedVersion: 6
|
|
10
|
-
m_Component:
|
|
11
|
-
- component: {fileID: 454916263186187601}
|
|
12
|
-
- component: {fileID: 454916263186187602}
|
|
13
|
-
m_Layer: 0
|
|
14
|
-
m_Name: Pan_To_Talkable_Event
|
|
15
|
-
m_TagString: Untagged
|
|
16
|
-
m_Icon: {fileID: 0}
|
|
17
|
-
m_NavMeshLayer: 0
|
|
18
|
-
m_StaticEditorFlags: 0
|
|
19
|
-
m_IsActive: 1
|
|
20
|
-
--- !u!4 &454916263186187601
|
|
21
|
-
Transform:
|
|
22
|
-
m_ObjectHideFlags: 0
|
|
23
|
-
m_CorrespondingSourceObject: {fileID: 0}
|
|
24
|
-
m_PrefabInstance: {fileID: 0}
|
|
25
|
-
m_PrefabAsset: {fileID: 0}
|
|
26
|
-
m_GameObject: {fileID: 454916263186187600}
|
|
27
|
-
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
|
28
|
-
m_LocalPosition: {x: 0, y: 0, z: 0}
|
|
29
|
-
m_LocalScale: {x: 1, y: 1, z: 1}
|
|
30
|
-
m_ConstrainProportionsScale: 0
|
|
31
|
-
m_Children: []
|
|
32
|
-
m_Father: {fileID: 0}
|
|
33
|
-
m_RootOrder: 0
|
|
34
|
-
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
35
|
-
--- !u!114 &454916263186187602
|
|
36
|
-
MonoBehaviour:
|
|
37
|
-
m_ObjectHideFlags: 0
|
|
38
|
-
m_CorrespondingSourceObject: {fileID: 0}
|
|
39
|
-
m_PrefabInstance: {fileID: 0}
|
|
40
|
-
m_PrefabAsset: {fileID: 0}
|
|
41
|
-
m_GameObject: {fileID: 454916263186187600}
|
|
42
|
-
m_Enabled: 1
|
|
43
|
-
m_EditorHideFlags: 0
|
|
44
|
-
m_Script: {fileID: 11500000, guid: 4025664e1e212e8428d4e0cfaa874dcf, type: 3}
|
|
45
|
-
m_Name:
|
|
46
|
-
m_EditorClassIdentifier:
|
|
47
|
-
dialogueEventString: PanToTalkable
|
|
48
|
-
toggleBlurEventString: ToggleBlur
|
|
49
|
-
dialogueEventStringMoveCamera: PanToObject
|
|
1
|
+
%YAML 1.1
|
|
2
|
+
%TAG !u! tag:unity3d.com,2011:
|
|
3
|
+
--- !u!1 &454916263186187600
|
|
4
|
+
GameObject:
|
|
5
|
+
m_ObjectHideFlags: 0
|
|
6
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
7
|
+
m_PrefabInstance: {fileID: 0}
|
|
8
|
+
m_PrefabAsset: {fileID: 0}
|
|
9
|
+
serializedVersion: 6
|
|
10
|
+
m_Component:
|
|
11
|
+
- component: {fileID: 454916263186187601}
|
|
12
|
+
- component: {fileID: 454916263186187602}
|
|
13
|
+
m_Layer: 0
|
|
14
|
+
m_Name: Pan_To_Talkable_Event
|
|
15
|
+
m_TagString: Untagged
|
|
16
|
+
m_Icon: {fileID: 0}
|
|
17
|
+
m_NavMeshLayer: 0
|
|
18
|
+
m_StaticEditorFlags: 0
|
|
19
|
+
m_IsActive: 1
|
|
20
|
+
--- !u!4 &454916263186187601
|
|
21
|
+
Transform:
|
|
22
|
+
m_ObjectHideFlags: 0
|
|
23
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
24
|
+
m_PrefabInstance: {fileID: 0}
|
|
25
|
+
m_PrefabAsset: {fileID: 0}
|
|
26
|
+
m_GameObject: {fileID: 454916263186187600}
|
|
27
|
+
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
|
28
|
+
m_LocalPosition: {x: 0, y: 0, z: 0}
|
|
29
|
+
m_LocalScale: {x: 1, y: 1, z: 1}
|
|
30
|
+
m_ConstrainProportionsScale: 0
|
|
31
|
+
m_Children: []
|
|
32
|
+
m_Father: {fileID: 0}
|
|
33
|
+
m_RootOrder: 0
|
|
34
|
+
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
35
|
+
--- !u!114 &454916263186187602
|
|
36
|
+
MonoBehaviour:
|
|
37
|
+
m_ObjectHideFlags: 0
|
|
38
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
39
|
+
m_PrefabInstance: {fileID: 0}
|
|
40
|
+
m_PrefabAsset: {fileID: 0}
|
|
41
|
+
m_GameObject: {fileID: 454916263186187600}
|
|
42
|
+
m_Enabled: 1
|
|
43
|
+
m_EditorHideFlags: 0
|
|
44
|
+
m_Script: {fileID: 11500000, guid: 4025664e1e212e8428d4e0cfaa874dcf, type: 3}
|
|
45
|
+
m_Name:
|
|
46
|
+
m_EditorClassIdentifier:
|
|
47
|
+
dialogueEventString: PanToTalkable
|
|
48
|
+
toggleBlurEventString: ToggleBlur
|
|
49
|
+
dialogueEventStringMoveCamera: PanToObject
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
fileFormatVersion: 2
|
|
2
|
-
guid: 5320da728940abe4c8369597b247dd94
|
|
3
|
-
PrefabImporter:
|
|
4
|
-
externalObjects: {}
|
|
5
|
-
userData:
|
|
6
|
-
assetBundleName:
|
|
7
|
-
assetBundleVariant:
|
|
1
|
+
fileFormatVersion: 2
|
|
2
|
+
guid: 5320da728940abe4c8369597b247dd94
|
|
3
|
+
PrefabImporter:
|
|
4
|
+
externalObjects: {}
|
|
5
|
+
userData:
|
|
6
|
+
assetBundleName:
|
|
7
|
+
assetBundleVariant:
|