net.dreditor.freetime 0.0.0-stage → 0.1.7
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/CharacterReaction.cs +46 -0
- package/CharacterReaction.cs.meta +11 -0
- package/DREditor.FreeTime.asmdef +26 -0
- package/DREditor.FreeTime.asmdef.meta +7 -0
- package/FTECharacterDialogues.cs +56 -0
- package/FTECharacterDialogues.cs.meta +11 -0
- package/FTEData.cs +52 -0
- package/FTEData.cs.meta +11 -0
- package/FTEDataHandler.cs +181 -0
- package/FTEDataHandler.cs.meta +11 -0
- package/FTEDatabase.cs +69 -0
- package/FTEDatabase.cs.meta +11 -0
- package/FTEDatabaseEditor.cs +102 -0
- package/FTEDatabaseEditor.cs.meta +11 -0
- package/FTEDialogues.cs +33 -0
- package/FTEDialogues.cs.meta +11 -0
- package/FTEManager.cs +323 -0
- package/FTEManager.cs.meta +11 -0
- package/IFTEDataHandler.cs +38 -0
- package/IFTEDataHandler.cs.meta +11 -0
- package/MoveToNextDayEvent.cs +214 -0
- package/MoveToNextDayEvent.cs.meta +11 -0
- package/PresentReaction.cs +37 -0
- package/PresentReaction.cs.meta +11 -0
- package/ReactionDatabase.cs +112 -0
- package/ReactionDatabase.cs.meta +11 -0
- package/ReactionUtility.cs +44 -0
- package/ReactionUtility.cs.meta +11 -0
- package/Samples~/FTE_Data_Handler.prefab +49 -0
- package/Samples~/FTE_Data_Handler.prefab.meta +7 -0
- package/Samples~/FTE_Manager_ETemplate.prefab +218 -0
- package/Samples~/FTE_Manager_ETemplate.prefab.meta +7 -0
- package/Samples~/Move_To_Next_Day_Event.prefab +83 -0
- package/Samples~/Move_To_Next_Day_Event.prefab.meta +7 -0
- package/Samples~/Start_FTE_Handler_ETemplate.prefab +336 -0
- package/Samples~/Start_FTE_Handler_ETemplate.prefab.meta +7 -0
- package/SimpleFTEEntryCollection.cs +29 -0
- package/SimpleFTEEntryCollection.cs.meta +2 -0
- package/StartFTEAnimation.cs +77 -0
- package/StartFTEAnimation.cs.meta +11 -0
- package/package.json +45 -4
- package/package.json.meta +7 -0
- package/README.md +0 -3
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
//Author: Benjamin "Sweden" Jillson : Discord: sweden_gaming For Project Eden's Garden
|
|
2
|
+
using DREditor.Characters;
|
|
3
|
+
using DREditor.Dialogues;
|
|
4
|
+
using DREditor.Dialogues.Loading;
|
|
5
|
+
using DREditor.Services;
|
|
6
|
+
using System.Collections.Generic;
|
|
7
|
+
using UnityEngine;
|
|
8
|
+
|
|
9
|
+
namespace DREditor.FreeTime
|
|
10
|
+
{
|
|
11
|
+
/// <summary>
|
|
12
|
+
///
|
|
13
|
+
/// </summary>
|
|
14
|
+
[System.Serializable]
|
|
15
|
+
[CreateAssetMenu(menuName = "DREditor/FTE/Reaction Database", fileName = "Reaction Database")]
|
|
16
|
+
public class ReactionDatabase : ScriptableObject, IDialogueHolder
|
|
17
|
+
{
|
|
18
|
+
/// <summary>
|
|
19
|
+
///
|
|
20
|
+
/// </summary>
|
|
21
|
+
[Header("")]
|
|
22
|
+
[Divider]
|
|
23
|
+
[Tooltip("")]
|
|
24
|
+
public List<CharacterReaction> characterReactions = new();
|
|
25
|
+
|
|
26
|
+
/// <summary>
|
|
27
|
+
///
|
|
28
|
+
/// </summary>
|
|
29
|
+
[Tooltip("")]
|
|
30
|
+
[SerializeField] protected int badReactionIndex = 4;
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
/// <summary>
|
|
34
|
+
///
|
|
35
|
+
/// </summary>
|
|
36
|
+
/// <param name="character"></param>
|
|
37
|
+
/// <param name="level"></param>
|
|
38
|
+
/// <returns></returns>
|
|
39
|
+
public virtual List<DialogueCore> GetReactionPool(Character character, int level)
|
|
40
|
+
{
|
|
41
|
+
var pool = characterReactions.Find(characterReaction => characterReaction.character == character)
|
|
42
|
+
.Reactions.Find(presentReaction => presentReaction.reactionKeyIndex == level)
|
|
43
|
+
.reactions;
|
|
44
|
+
|
|
45
|
+
List<DialogueCore> dialogues = new();
|
|
46
|
+
|
|
47
|
+
foreach (var reaction in pool)
|
|
48
|
+
dialogues.Add(reaction);
|
|
49
|
+
|
|
50
|
+
return dialogues;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/// <summary>
|
|
54
|
+
///
|
|
55
|
+
/// </summary>
|
|
56
|
+
/// <param name="dialogue"></param>
|
|
57
|
+
/// <returns></returns>
|
|
58
|
+
public virtual int GetReactionKeyFromDialogue(Dialogue dialogue)
|
|
59
|
+
{
|
|
60
|
+
CharacterReaction charReact = GetReactionFromDialogue(dialogue);
|
|
61
|
+
|
|
62
|
+
PresentReaction reaction = charReact.GetReactionFromDialogue(dialogue);
|
|
63
|
+
|
|
64
|
+
if (reaction == null)
|
|
65
|
+
{
|
|
66
|
+
UnityEngine.Debug.LogWarning(nameof(ReactionDatabase) + ": " +
|
|
67
|
+
"The reation level couldn't be found for dialogue: " +
|
|
68
|
+
dialogue.name + " and will return a bad reaction level.");
|
|
69
|
+
|
|
70
|
+
return badReactionIndex;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
return reaction.reactionKeyIndex;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
/// <summary>
|
|
77
|
+
///
|
|
78
|
+
/// </summary>
|
|
79
|
+
/// <param name="dialogue"></param>
|
|
80
|
+
/// <returns></returns>
|
|
81
|
+
protected virtual CharacterReaction GetReactionFromDialogue(Dialogue dialogue)
|
|
82
|
+
{
|
|
83
|
+
foreach (CharacterReaction reactions in characterReactions)
|
|
84
|
+
{
|
|
85
|
+
PresentReaction presentReactionAsset = reactions.Reactions
|
|
86
|
+
.Find(presentReactions => presentReactions.reactions.Contains(dialogue));
|
|
87
|
+
|
|
88
|
+
if (presentReactionAsset != null)
|
|
89
|
+
return reactions;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
UnityEngine.Debug.LogWarning(nameof(ReactionDatabase) + ": The character reaction couldn't be found for dialogue: " +
|
|
93
|
+
dialogue.name + " and will return a null reaction.");
|
|
94
|
+
|
|
95
|
+
return null;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
/// <inheritdoc/>
|
|
100
|
+
public virtual bool CheckIfSaveDialogue()
|
|
101
|
+
{
|
|
102
|
+
foreach (var reaction in characterReactions)
|
|
103
|
+
foreach (var presentReaction in reaction.Reactions)
|
|
104
|
+
if (ServiceLocator.GetService<IDialogueManager>()
|
|
105
|
+
.GetManagerComponent<DialogueLoadIdentifier>()
|
|
106
|
+
.CheckDialogues<Line>(presentReaction.GetReactions()))
|
|
107
|
+
return true;
|
|
108
|
+
|
|
109
|
+
return false;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
//Author: Benjamin "Sweden" Jillson : Discord: sweden_gaming For Project Eden's Garden
|
|
2
|
+
#if UNITY_EDITOR
|
|
3
|
+
using UnityEditor;
|
|
4
|
+
|
|
5
|
+
namespace DREditor.FreeTime
|
|
6
|
+
{
|
|
7
|
+
/// <summary>
|
|
8
|
+
///
|
|
9
|
+
/// </summary>
|
|
10
|
+
public static class ReactionUtility
|
|
11
|
+
{
|
|
12
|
+
/// <summary>
|
|
13
|
+
///
|
|
14
|
+
/// </summary>
|
|
15
|
+
[MenuItem("DREditor/FTE/Generate Base Reaction Data")]
|
|
16
|
+
public static void GenerateBaseReactionData()
|
|
17
|
+
{
|
|
18
|
+
UnityEngine.Debug.LogWarning("ALERT: This tool has not been implemented as there will be a " +
|
|
19
|
+
"PresentReactionLevel Rework in the future and this class will depend on that process." +
|
|
20
|
+
"\nContact Sweden for more information.");
|
|
21
|
+
|
|
22
|
+
//database.characterReactions.Clear();
|
|
23
|
+
|
|
24
|
+
//List<Character> characters = characterDatabase.GetFTECharacterList();
|
|
25
|
+
|
|
26
|
+
//List<PresentReactionLevel> levels = Enum.GetValues(typeof(PresentReactionLevel)).Cast<PresentReactionLevel>().ToList();
|
|
27
|
+
|
|
28
|
+
//foreach (Character character in characters)
|
|
29
|
+
//{
|
|
30
|
+
// CharacterReaction reaction = new(character.FirstName, character);
|
|
31
|
+
|
|
32
|
+
// database.characterReactions.Add(reaction);
|
|
33
|
+
|
|
34
|
+
// foreach(PresentReactionLevel level in levels)
|
|
35
|
+
// {
|
|
36
|
+
// PresentReaction presReact = new(level.ToString(), level);
|
|
37
|
+
|
|
38
|
+
// reaction.Reactions.Add(presReact);
|
|
39
|
+
// }
|
|
40
|
+
//}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
#endif
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
%YAML 1.1
|
|
2
|
+
%TAG !u! tag:unity3d.com,2011:
|
|
3
|
+
--- !u!1 &2695087620381833349
|
|
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: 2695087620381833348}
|
|
12
|
+
- component: {fileID: 2695087620381833347}
|
|
13
|
+
m_Layer: 0
|
|
14
|
+
m_Name: FTE_Data_Handler
|
|
15
|
+
m_TagString: Untagged
|
|
16
|
+
m_Icon: {fileID: 0}
|
|
17
|
+
m_NavMeshLayer: 0
|
|
18
|
+
m_StaticEditorFlags: 0
|
|
19
|
+
m_IsActive: 1
|
|
20
|
+
--- !u!4 &2695087620381833348
|
|
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: 2695087620381833349}
|
|
27
|
+
serializedVersion: 2
|
|
28
|
+
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
|
29
|
+
m_LocalPosition: {x: 0, y: 0, z: 0}
|
|
30
|
+
m_LocalScale: {x: 1, y: 1, z: 1}
|
|
31
|
+
m_ConstrainProportionsScale: 0
|
|
32
|
+
m_Children: []
|
|
33
|
+
m_Father: {fileID: 0}
|
|
34
|
+
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
35
|
+
--- !u!114 &2695087620381833347
|
|
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: 2695087620381833349}
|
|
42
|
+
m_Enabled: 1
|
|
43
|
+
m_EditorHideFlags: 0
|
|
44
|
+
m_Script: {fileID: 11500000, guid: 889f5628fce755746837451a211f4b96, type: 3}
|
|
45
|
+
m_Name:
|
|
46
|
+
m_EditorClassIdentifier:
|
|
47
|
+
fTEDataSaveKey: fTEDatas
|
|
48
|
+
database: {fileID: 0}
|
|
49
|
+
fTEDatas: []
|
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
%YAML 1.1
|
|
2
|
+
%TAG !u! tag:unity3d.com,2011:
|
|
3
|
+
--- !u!1 &1639883191476431054
|
|
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: 1639883191476431051}
|
|
12
|
+
- component: {fileID: 1639883191476431052}
|
|
13
|
+
m_Layer: 0
|
|
14
|
+
m_Name: FTE_Manager_ETemplate
|
|
15
|
+
m_TagString: Untagged
|
|
16
|
+
m_Icon: {fileID: 0}
|
|
17
|
+
m_NavMeshLayer: 0
|
|
18
|
+
m_StaticEditorFlags: 0
|
|
19
|
+
m_IsActive: 1
|
|
20
|
+
--- !u!4 &1639883191476431051
|
|
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: 1639883191476431054}
|
|
27
|
+
serializedVersion: 2
|
|
28
|
+
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
|
29
|
+
m_LocalPosition: {x: 0, y: 0, z: 0}
|
|
30
|
+
m_LocalScale: {x: 1, y: 1, z: 1}
|
|
31
|
+
m_ConstrainProportionsScale: 0
|
|
32
|
+
m_Children:
|
|
33
|
+
- {fileID: 1639883191370299162}
|
|
34
|
+
- {fileID: 1639883190004547324}
|
|
35
|
+
m_Father: {fileID: 0}
|
|
36
|
+
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
37
|
+
--- !u!114 &1639883191476431052
|
|
38
|
+
MonoBehaviour:
|
|
39
|
+
m_ObjectHideFlags: 0
|
|
40
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
41
|
+
m_PrefabInstance: {fileID: 0}
|
|
42
|
+
m_PrefabAsset: {fileID: 0}
|
|
43
|
+
m_GameObject: {fileID: 1639883191476431054}
|
|
44
|
+
m_Enabled: 1
|
|
45
|
+
m_EditorHideFlags: 0
|
|
46
|
+
m_Script: {fileID: 11500000, guid: f935f35e7d7830a42a1c3f08e67aa6c5, type: 3}
|
|
47
|
+
m_Name:
|
|
48
|
+
m_EditorClassIdentifier:
|
|
49
|
+
registerService: 1
|
|
50
|
+
dontDestroyOnLoad: 1
|
|
51
|
+
reactionDatabase: {fileID: 0}
|
|
52
|
+
fteDatabase: {fileID: 0}
|
|
53
|
+
characterDatabase: {fileID: 0}
|
|
54
|
+
lastActor: {fileID: 11400000, guid: 6466f838a3a6bd848b31cde792bef69c, type: 2}
|
|
55
|
+
callEvaluateReaction: EvaluateReaction
|
|
56
|
+
callEvaluateFTE: EvaluateFTE
|
|
57
|
+
callCompleteFTE: CompleteFTE
|
|
58
|
+
moveToNextDayHandler: {fileID: 1639883191370299164}
|
|
59
|
+
--- !u!1001 &3721335569904797304
|
|
60
|
+
PrefabInstance:
|
|
61
|
+
m_ObjectHideFlags: 0
|
|
62
|
+
serializedVersion: 2
|
|
63
|
+
m_Modification:
|
|
64
|
+
serializedVersion: 3
|
|
65
|
+
m_TransformParent: {fileID: 1639883191476431051}
|
|
66
|
+
m_Modifications:
|
|
67
|
+
- target: {fileID: 2695087620381833348, guid: 19663ee03c25e4b47b87a0720a6a4d69,
|
|
68
|
+
type: 3}
|
|
69
|
+
propertyPath: m_LocalPosition.x
|
|
70
|
+
value: 0
|
|
71
|
+
objectReference: {fileID: 0}
|
|
72
|
+
- target: {fileID: 2695087620381833348, guid: 19663ee03c25e4b47b87a0720a6a4d69,
|
|
73
|
+
type: 3}
|
|
74
|
+
propertyPath: m_LocalPosition.y
|
|
75
|
+
value: 0
|
|
76
|
+
objectReference: {fileID: 0}
|
|
77
|
+
- target: {fileID: 2695087620381833348, guid: 19663ee03c25e4b47b87a0720a6a4d69,
|
|
78
|
+
type: 3}
|
|
79
|
+
propertyPath: m_LocalPosition.z
|
|
80
|
+
value: 0
|
|
81
|
+
objectReference: {fileID: 0}
|
|
82
|
+
- target: {fileID: 2695087620381833348, guid: 19663ee03c25e4b47b87a0720a6a4d69,
|
|
83
|
+
type: 3}
|
|
84
|
+
propertyPath: m_LocalRotation.w
|
|
85
|
+
value: 1
|
|
86
|
+
objectReference: {fileID: 0}
|
|
87
|
+
- target: {fileID: 2695087620381833348, guid: 19663ee03c25e4b47b87a0720a6a4d69,
|
|
88
|
+
type: 3}
|
|
89
|
+
propertyPath: m_LocalRotation.x
|
|
90
|
+
value: 0
|
|
91
|
+
objectReference: {fileID: 0}
|
|
92
|
+
- target: {fileID: 2695087620381833348, guid: 19663ee03c25e4b47b87a0720a6a4d69,
|
|
93
|
+
type: 3}
|
|
94
|
+
propertyPath: m_LocalRotation.y
|
|
95
|
+
value: 0
|
|
96
|
+
objectReference: {fileID: 0}
|
|
97
|
+
- target: {fileID: 2695087620381833348, guid: 19663ee03c25e4b47b87a0720a6a4d69,
|
|
98
|
+
type: 3}
|
|
99
|
+
propertyPath: m_LocalRotation.z
|
|
100
|
+
value: 0
|
|
101
|
+
objectReference: {fileID: 0}
|
|
102
|
+
- target: {fileID: 2695087620381833348, guid: 19663ee03c25e4b47b87a0720a6a4d69,
|
|
103
|
+
type: 3}
|
|
104
|
+
propertyPath: m_LocalEulerAnglesHint.x
|
|
105
|
+
value: 0
|
|
106
|
+
objectReference: {fileID: 0}
|
|
107
|
+
- target: {fileID: 2695087620381833348, guid: 19663ee03c25e4b47b87a0720a6a4d69,
|
|
108
|
+
type: 3}
|
|
109
|
+
propertyPath: m_LocalEulerAnglesHint.y
|
|
110
|
+
value: 0
|
|
111
|
+
objectReference: {fileID: 0}
|
|
112
|
+
- target: {fileID: 2695087620381833348, guid: 19663ee03c25e4b47b87a0720a6a4d69,
|
|
113
|
+
type: 3}
|
|
114
|
+
propertyPath: m_LocalEulerAnglesHint.z
|
|
115
|
+
value: 0
|
|
116
|
+
objectReference: {fileID: 0}
|
|
117
|
+
- target: {fileID: 2695087620381833349, guid: 19663ee03c25e4b47b87a0720a6a4d69,
|
|
118
|
+
type: 3}
|
|
119
|
+
propertyPath: m_Name
|
|
120
|
+
value: FTE_Data_Handler
|
|
121
|
+
objectReference: {fileID: 0}
|
|
122
|
+
m_RemovedComponents: []
|
|
123
|
+
m_RemovedGameObjects: []
|
|
124
|
+
m_AddedGameObjects: []
|
|
125
|
+
m_AddedComponents: []
|
|
126
|
+
m_SourcePrefab: {fileID: 100100000, guid: 19663ee03c25e4b47b87a0720a6a4d69, type: 3}
|
|
127
|
+
--- !u!4 &1639883190004547324 stripped
|
|
128
|
+
Transform:
|
|
129
|
+
m_CorrespondingSourceObject: {fileID: 2695087620381833348, guid: 19663ee03c25e4b47b87a0720a6a4d69,
|
|
130
|
+
type: 3}
|
|
131
|
+
m_PrefabInstance: {fileID: 3721335569904797304}
|
|
132
|
+
m_PrefabAsset: {fileID: 0}
|
|
133
|
+
--- !u!1001 &6591929862464571449
|
|
134
|
+
PrefabInstance:
|
|
135
|
+
m_ObjectHideFlags: 0
|
|
136
|
+
serializedVersion: 2
|
|
137
|
+
m_Modification:
|
|
138
|
+
serializedVersion: 3
|
|
139
|
+
m_TransformParent: {fileID: 1639883191476431051}
|
|
140
|
+
m_Modifications:
|
|
141
|
+
- target: {fileID: 5600565173749235491, guid: a4a49aa99bb5a1349a8129bb1e6b0ec8,
|
|
142
|
+
type: 3}
|
|
143
|
+
propertyPath: m_LocalPosition.x
|
|
144
|
+
value: 0
|
|
145
|
+
objectReference: {fileID: 0}
|
|
146
|
+
- target: {fileID: 5600565173749235491, guid: a4a49aa99bb5a1349a8129bb1e6b0ec8,
|
|
147
|
+
type: 3}
|
|
148
|
+
propertyPath: m_LocalPosition.y
|
|
149
|
+
value: 0
|
|
150
|
+
objectReference: {fileID: 0}
|
|
151
|
+
- target: {fileID: 5600565173749235491, guid: a4a49aa99bb5a1349a8129bb1e6b0ec8,
|
|
152
|
+
type: 3}
|
|
153
|
+
propertyPath: m_LocalPosition.z
|
|
154
|
+
value: 0
|
|
155
|
+
objectReference: {fileID: 0}
|
|
156
|
+
- target: {fileID: 5600565173749235491, guid: a4a49aa99bb5a1349a8129bb1e6b0ec8,
|
|
157
|
+
type: 3}
|
|
158
|
+
propertyPath: m_LocalRotation.w
|
|
159
|
+
value: 1
|
|
160
|
+
objectReference: {fileID: 0}
|
|
161
|
+
- target: {fileID: 5600565173749235491, guid: a4a49aa99bb5a1349a8129bb1e6b0ec8,
|
|
162
|
+
type: 3}
|
|
163
|
+
propertyPath: m_LocalRotation.x
|
|
164
|
+
value: 0
|
|
165
|
+
objectReference: {fileID: 0}
|
|
166
|
+
- target: {fileID: 5600565173749235491, guid: a4a49aa99bb5a1349a8129bb1e6b0ec8,
|
|
167
|
+
type: 3}
|
|
168
|
+
propertyPath: m_LocalRotation.y
|
|
169
|
+
value: 0
|
|
170
|
+
objectReference: {fileID: 0}
|
|
171
|
+
- target: {fileID: 5600565173749235491, guid: a4a49aa99bb5a1349a8129bb1e6b0ec8,
|
|
172
|
+
type: 3}
|
|
173
|
+
propertyPath: m_LocalRotation.z
|
|
174
|
+
value: 0
|
|
175
|
+
objectReference: {fileID: 0}
|
|
176
|
+
- target: {fileID: 5600565173749235491, guid: a4a49aa99bb5a1349a8129bb1e6b0ec8,
|
|
177
|
+
type: 3}
|
|
178
|
+
propertyPath: m_LocalEulerAnglesHint.x
|
|
179
|
+
value: 0
|
|
180
|
+
objectReference: {fileID: 0}
|
|
181
|
+
- target: {fileID: 5600565173749235491, guid: a4a49aa99bb5a1349a8129bb1e6b0ec8,
|
|
182
|
+
type: 3}
|
|
183
|
+
propertyPath: m_LocalEulerAnglesHint.y
|
|
184
|
+
value: 0
|
|
185
|
+
objectReference: {fileID: 0}
|
|
186
|
+
- target: {fileID: 5600565173749235491, guid: a4a49aa99bb5a1349a8129bb1e6b0ec8,
|
|
187
|
+
type: 3}
|
|
188
|
+
propertyPath: m_LocalEulerAnglesHint.z
|
|
189
|
+
value: 0
|
|
190
|
+
objectReference: {fileID: 0}
|
|
191
|
+
- target: {fileID: 5600565173749235492, guid: a4a49aa99bb5a1349a8129bb1e6b0ec8,
|
|
192
|
+
type: 3}
|
|
193
|
+
propertyPath: m_Name
|
|
194
|
+
value: Move_To_Next_Day_Event
|
|
195
|
+
objectReference: {fileID: 0}
|
|
196
|
+
m_RemovedComponents: []
|
|
197
|
+
m_RemovedGameObjects: []
|
|
198
|
+
m_AddedGameObjects: []
|
|
199
|
+
m_AddedComponents: []
|
|
200
|
+
m_SourcePrefab: {fileID: 100100000, guid: a4a49aa99bb5a1349a8129bb1e6b0ec8, type: 3}
|
|
201
|
+
--- !u!4 &1639883191370299162 stripped
|
|
202
|
+
Transform:
|
|
203
|
+
m_CorrespondingSourceObject: {fileID: 5600565173749235491, guid: a4a49aa99bb5a1349a8129bb1e6b0ec8,
|
|
204
|
+
type: 3}
|
|
205
|
+
m_PrefabInstance: {fileID: 6591929862464571449}
|
|
206
|
+
m_PrefabAsset: {fileID: 0}
|
|
207
|
+
--- !u!114 &1639883191370299164 stripped
|
|
208
|
+
MonoBehaviour:
|
|
209
|
+
m_CorrespondingSourceObject: {fileID: 5600565173749235493, guid: a4a49aa99bb5a1349a8129bb1e6b0ec8,
|
|
210
|
+
type: 3}
|
|
211
|
+
m_PrefabInstance: {fileID: 6591929862464571449}
|
|
212
|
+
m_PrefabAsset: {fileID: 0}
|
|
213
|
+
m_GameObject: {fileID: 0}
|
|
214
|
+
m_Enabled: 1
|
|
215
|
+
m_EditorHideFlags: 0
|
|
216
|
+
m_Script: {fileID: 11500000, guid: 30c79b8fcf0a9464a93df583c434a61f, type: 3}
|
|
217
|
+
m_Name:
|
|
218
|
+
m_EditorClassIdentifier:
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
%YAML 1.1
|
|
2
|
+
%TAG !u! tag:unity3d.com,2011:
|
|
3
|
+
--- !u!1 &5600565173749235492
|
|
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: 5600565173749235491}
|
|
12
|
+
- component: {fileID: 5600565173749235493}
|
|
13
|
+
- component: {fileID: 5600565173749235490}
|
|
14
|
+
m_Layer: 0
|
|
15
|
+
m_Name: Move_To_Next_Day_Event
|
|
16
|
+
m_TagString: Untagged
|
|
17
|
+
m_Icon: {fileID: 0}
|
|
18
|
+
m_NavMeshLayer: 0
|
|
19
|
+
m_StaticEditorFlags: 0
|
|
20
|
+
m_IsActive: 1
|
|
21
|
+
--- !u!4 &5600565173749235491
|
|
22
|
+
Transform:
|
|
23
|
+
m_ObjectHideFlags: 0
|
|
24
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
25
|
+
m_PrefabInstance: {fileID: 0}
|
|
26
|
+
m_PrefabAsset: {fileID: 0}
|
|
27
|
+
m_GameObject: {fileID: 5600565173749235492}
|
|
28
|
+
serializedVersion: 2
|
|
29
|
+
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
|
30
|
+
m_LocalPosition: {x: 0, y: 0, z: 0}
|
|
31
|
+
m_LocalScale: {x: 1, y: 1, z: 1}
|
|
32
|
+
m_ConstrainProportionsScale: 0
|
|
33
|
+
m_Children: []
|
|
34
|
+
m_Father: {fileID: 0}
|
|
35
|
+
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
36
|
+
--- !u!114 &5600565173749235493
|
|
37
|
+
MonoBehaviour:
|
|
38
|
+
m_ObjectHideFlags: 0
|
|
39
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
40
|
+
m_PrefabInstance: {fileID: 0}
|
|
41
|
+
m_PrefabAsset: {fileID: 0}
|
|
42
|
+
m_GameObject: {fileID: 5600565173749235492}
|
|
43
|
+
m_Enabled: 1
|
|
44
|
+
m_EditorHideFlags: 0
|
|
45
|
+
m_Script: {fileID: 11500000, guid: 30c79b8fcf0a9464a93df583c434a61f, type: 3}
|
|
46
|
+
m_Name:
|
|
47
|
+
m_EditorClassIdentifier:
|
|
48
|
+
dialogueEventString: NextDay
|
|
49
|
+
inLoading: {fileID: 11400000, guid: 47b432f9492371142899d74f165578ea, type: 2}
|
|
50
|
+
cleanUpDialogueReader: {fileID: 11400000, guid: 23a1b6b44cbafdf409f119eb262612da,
|
|
51
|
+
type: 2}
|
|
52
|
+
toSkipHideCG: {fileID: 11400000, guid: e4e7726997e78f14189a11ccf2e56eaf, type: 2}
|
|
53
|
+
transition:
|
|
54
|
+
Enabled: 0
|
|
55
|
+
scene:
|
|
56
|
+
toDark: 0
|
|
57
|
+
toMenu: 0
|
|
58
|
+
atEnd: {fileID: 0}
|
|
59
|
+
onLoadNoDark: 0
|
|
60
|
+
moveToObjective:
|
|
61
|
+
moveToNextNaturalObjective: 0
|
|
62
|
+
moveOnEndEventString: MoveEndOnDialogueFinish
|
|
63
|
+
fadeOutEventString: FadeOutOnLoadSubscribe
|
|
64
|
+
moveToNextNaturalObjective: {fileID: 11400000, guid: 678fc797f203cfc43b2ed0bcb157cd5f,
|
|
65
|
+
type: 2}
|
|
66
|
+
moveToObjective: {fileID: 11400000, guid: 99302608f080d0748afff146c1fcc54b, type: 2}
|
|
67
|
+
currentAddState: {fileID: 11400000, guid: cdff6a487abc2c9419f1459fc8ce32a1, type: 2}
|
|
68
|
+
additionalStateIndex: 0
|
|
69
|
+
fadeToDarkDuration: 0.5
|
|
70
|
+
returnToMenuHandler: {fileID: 5600565173749235490}
|
|
71
|
+
--- !u!114 &5600565173749235490
|
|
72
|
+
MonoBehaviour:
|
|
73
|
+
m_ObjectHideFlags: 0
|
|
74
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
75
|
+
m_PrefabInstance: {fileID: 0}
|
|
76
|
+
m_PrefabAsset: {fileID: 0}
|
|
77
|
+
m_GameObject: {fileID: 5600565173749235492}
|
|
78
|
+
m_Enabled: 1
|
|
79
|
+
m_EditorHideFlags: 0
|
|
80
|
+
m_Script: {fileID: 11500000, guid: 4cd821b352da7914eb5b25772c800597, type: 3}
|
|
81
|
+
m_Name:
|
|
82
|
+
m_EditorClassIdentifier:
|
|
83
|
+
titleScreenSceneName: GYM_MainMenu
|