net.dreditor.camerapostprocess 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/BlurCameraRenderManager.cs +214 -0
- package/BlurCameraRenderManager.cs.meta +11 -0
- package/BlurRenderQueueSettings.cs +29 -0
- package/BlurRenderQueueSettings.cs.meta +11 -0
- package/BlurSettingsHandler.cs +59 -0
- package/BlurSettingsHandler.cs.meta +11 -0
- package/BlurVisionEvent.cs +209 -0
- package/BlurVisionEvent.cs.meta +11 -0
- package/CameraPostProcessingExtentions.cs +45 -0
- package/CameraPostProcessingExtentions.cs.meta +11 -0
- package/DREditor.CameraPostProcess.asmdef +20 -0
- package/DREditor.CameraPostProcess.asmdef.meta +7 -0
- package/PostProcessChanger.cs +224 -0
- package/PostProcessChanger.cs.meta +11 -0
- package/PostProcessState.cs +67 -0
- package/PostProcessState.cs.meta +11 -0
- package/PostProcessingColorEventHandler.cs +173 -0
- package/PostProcessingColorEventHandler.cs.meta +11 -0
- package/Samples~/BlurRenderQueueSettings.asset +15 -0
- package/Samples~/BlurRenderQueueSettings.asset.meta +8 -0
- package/Samples~/Blur_Camera_Render_Manager.prefab +73 -0
- package/Samples~/Blur_Camera_Render_Manager.prefab.meta +7 -0
- package/Samples~/PostProcessState Blur Camera.asset +19 -0
- package/Samples~/PostProcessState Blur Camera.asset.meta +8 -0
- package/Samples~/PostProcessState Dialogue Camera.asset +19 -0
- package/Samples~/PostProcessState Dialogue Camera.asset.meta +8 -0
- package/Samples~/PostProcessState Main Camera.asset +19 -0
- package/Samples~/PostProcessState Main Camera.asset.meta +8 -0
- package/Samples~/PostProcessState Protag Camera.asset +19 -0
- package/Samples~/PostProcessState Protag Camera.asset.meta +8 -0
- package/package.json +40 -4
- package/package.json.meta +7 -0
- package/readme.txt +23 -0
- package/readme.txt.meta +7 -0
- package/README.md +0 -3
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
//Author: Benjamin "Sweden" Jillson : Discord: sweden_gaming For Project Eden's Garden
|
|
2
|
+
using DREditor.Dialogues.Events;
|
|
3
|
+
using DREditor.EventObjects;
|
|
4
|
+
using System.Collections;
|
|
5
|
+
using System.Collections.Generic;
|
|
6
|
+
using System.Linq;
|
|
7
|
+
using UnityEngine.Rendering;
|
|
8
|
+
using UnityEngine;
|
|
9
|
+
|
|
10
|
+
#if UNITY_EDITOR
|
|
11
|
+
|
|
12
|
+
using DREditor.Editor.Utility;
|
|
13
|
+
|
|
14
|
+
#endif
|
|
15
|
+
|
|
16
|
+
namespace DREditor.CamerasPostProcess
|
|
17
|
+
{
|
|
18
|
+
/// <summary>
|
|
19
|
+
///
|
|
20
|
+
/// </summary>
|
|
21
|
+
[ClassHeader("")]
|
|
22
|
+
public class PostProcessChanger : MonoBehaviour
|
|
23
|
+
{
|
|
24
|
+
/// <summary>
|
|
25
|
+
///
|
|
26
|
+
/// </summary>
|
|
27
|
+
[Header("")]
|
|
28
|
+
[Divider]
|
|
29
|
+
[Tooltip("")]
|
|
30
|
+
[SerializeField] protected string setHSVEventString = "SetHSV";
|
|
31
|
+
|
|
32
|
+
/// <summary>
|
|
33
|
+
///
|
|
34
|
+
/// </summary>
|
|
35
|
+
[Tooltip("")]
|
|
36
|
+
[SerializeField] protected string captureFreezeFrameEventString = "CaptureMain";
|
|
37
|
+
|
|
38
|
+
/// <summary>
|
|
39
|
+
///
|
|
40
|
+
/// </summary>
|
|
41
|
+
[Tooltip("")]
|
|
42
|
+
[SerializeField] protected string captureProtagFreezeFrameEventString = "CaptureProtag";
|
|
43
|
+
|
|
44
|
+
/// <summary>
|
|
45
|
+
///
|
|
46
|
+
/// </summary>
|
|
47
|
+
[Tooltip("")]
|
|
48
|
+
[SerializeField] protected string destroyCommandEventString = "DestroyPostProcess";
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
/// <summary>
|
|
52
|
+
///
|
|
53
|
+
/// </summary>
|
|
54
|
+
[Header("")]
|
|
55
|
+
[Divider]
|
|
56
|
+
[Tooltip("")]
|
|
57
|
+
[SerializeField] protected BoolWithEvent inDialogue = null;
|
|
58
|
+
|
|
59
|
+
/// <summary>
|
|
60
|
+
///
|
|
61
|
+
/// </summary>
|
|
62
|
+
[Tooltip("")]
|
|
63
|
+
[SerializeField] protected Color setHSVColor = new(0.2784314f, 0.2784314f, 0.2784314f, 1);
|
|
64
|
+
|
|
65
|
+
/// <summary>
|
|
66
|
+
///
|
|
67
|
+
/// </summary>
|
|
68
|
+
[Tooltip("")]
|
|
69
|
+
[SerializeField] protected List<PostProcessState> setStates = new();
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
/// <summary>
|
|
73
|
+
///
|
|
74
|
+
/// </summary>
|
|
75
|
+
protected readonly List<PostProcessState> originalStates = new();
|
|
76
|
+
|
|
77
|
+
/// <summary>
|
|
78
|
+
///
|
|
79
|
+
/// </summary>
|
|
80
|
+
protected List<UnityEngine.Camera> cameras = new();
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
/// <summary>
|
|
84
|
+
///
|
|
85
|
+
/// </summary>
|
|
86
|
+
protected virtual void OnEnable()
|
|
87
|
+
{
|
|
88
|
+
InitializeOriginalStates();
|
|
89
|
+
|
|
90
|
+
ApplyStateList(setStates);
|
|
91
|
+
|
|
92
|
+
UpdateUI();
|
|
93
|
+
|
|
94
|
+
DialogueEventSystem.StartListening(destroyCommandEventString, DestroyObject);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
/// <summary>
|
|
98
|
+
///
|
|
99
|
+
/// </summary>
|
|
100
|
+
protected virtual void OnDisable()
|
|
101
|
+
{
|
|
102
|
+
ApplyStateList(originalStates);
|
|
103
|
+
|
|
104
|
+
originalStates.Clear();
|
|
105
|
+
|
|
106
|
+
DialogueEventSystem.StopListening(destroyCommandEventString, DestroyObject);
|
|
107
|
+
|
|
108
|
+
DialogueEventSystem.TriggerEvent(destroyCommandEventString);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
/// <summary>
|
|
112
|
+
///
|
|
113
|
+
/// </summary>
|
|
114
|
+
protected virtual void InitializeOriginalStates()
|
|
115
|
+
{
|
|
116
|
+
cameras = FindObjectsByType<UnityEngine.Camera>().ToList();
|
|
117
|
+
|
|
118
|
+
foreach (var state in setStates)
|
|
119
|
+
if (cameras.Find(camera => camera.gameObject.name == state.cameraObjectName) is UnityEngine.Camera found)
|
|
120
|
+
originalStates.Add(ScriptableObject.CreateInstance<PostProcessState>().RecordState(found));
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
/// <summary>
|
|
124
|
+
///
|
|
125
|
+
/// </summary>
|
|
126
|
+
/// <param name="states"></param>
|
|
127
|
+
protected virtual void ApplyStateList(List<PostProcessState> states)
|
|
128
|
+
{
|
|
129
|
+
if (cameras == null)
|
|
130
|
+
return;
|
|
131
|
+
|
|
132
|
+
foreach (var camera in cameras)
|
|
133
|
+
if (camera != null && states.Find(state => state.cameraObjectName == camera.gameObject.name) is PostProcessState state)
|
|
134
|
+
state.ApplyState(camera);
|
|
135
|
+
else if (camera != null)
|
|
136
|
+
UnityEngine.Debug.LogWarning("ALERT: Could not find state data for camera: " + camera.name);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
/// <summary>
|
|
140
|
+
///
|
|
141
|
+
/// </summary>
|
|
142
|
+
protected virtual void UpdateUI()
|
|
143
|
+
{
|
|
144
|
+
DialogueEventSystem.TriggerEvent(setHSVEventString, setHSVColor);
|
|
145
|
+
|
|
146
|
+
if (inDialogue.Value)
|
|
147
|
+
ScreenshotCameras();
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
/// <summary>
|
|
151
|
+
///
|
|
152
|
+
/// </summary>
|
|
153
|
+
/// <remarks>
|
|
154
|
+
///
|
|
155
|
+
/// </remarks>
|
|
156
|
+
protected virtual void ScreenshotCameras()
|
|
157
|
+
{
|
|
158
|
+
DialogueEventSystem.TriggerEvent(captureFreezeFrameEventString, true);
|
|
159
|
+
|
|
160
|
+
DialogueEventSystem.TriggerEvent(captureProtagFreezeFrameEventString);
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
/// <summary>
|
|
164
|
+
///
|
|
165
|
+
/// </summary>
|
|
166
|
+
/// <param name="o"></param>
|
|
167
|
+
protected virtual void DestroyObject(object o) => StartCoroutine(DestroyMidDialogueRoutine());
|
|
168
|
+
|
|
169
|
+
/// <summary>
|
|
170
|
+
///
|
|
171
|
+
/// </summary>
|
|
172
|
+
/// <returns></returns>
|
|
173
|
+
protected virtual IEnumerator DestroyMidDialogueRoutine()
|
|
174
|
+
{
|
|
175
|
+
if (TryGetComponent(out Volume volume))
|
|
176
|
+
Destroy(volume);
|
|
177
|
+
|
|
178
|
+
yield return null;
|
|
179
|
+
|
|
180
|
+
ScreenshotCameras();
|
|
181
|
+
|
|
182
|
+
yield return null;
|
|
183
|
+
|
|
184
|
+
Destroy(gameObject);
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
/// <summary>
|
|
189
|
+
///
|
|
190
|
+
/// </summary>
|
|
191
|
+
[ContextMenu("Set all States to True")]
|
|
192
|
+
public void EnableAllSet()
|
|
193
|
+
{
|
|
194
|
+
foreach (var postProcessState in setStates)
|
|
195
|
+
postProcessState.SetEnabled(true);
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
#if UNITY_EDITOR
|
|
199
|
+
|
|
200
|
+
/// <summary>
|
|
201
|
+
///
|
|
202
|
+
/// </summary>
|
|
203
|
+
[ContextMenu("Create PostProcess Assets from all Cameras in Scene")]
|
|
204
|
+
public void Scan()
|
|
205
|
+
{
|
|
206
|
+
UnityEngine.Debug.Log($"{ToString()}: Scans the scene for all cameras and creates PostProcessState assets for each.");
|
|
207
|
+
|
|
208
|
+
var cameras = FindObjectsByType<UnityEngine.Camera>();
|
|
209
|
+
|
|
210
|
+
setStates.Clear();
|
|
211
|
+
|
|
212
|
+
foreach (var camera in cameras)
|
|
213
|
+
{
|
|
214
|
+
var state = CustomEditorUtility.CreateAsset<PostProcessState>("PostProcessState " + camera.gameObject.name);
|
|
215
|
+
|
|
216
|
+
state = state.RecordState(camera);
|
|
217
|
+
|
|
218
|
+
setStates.Add(state);
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
#endif
|
|
223
|
+
}
|
|
224
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
//Author: Benjamin "Sweden" Jillson : Discord: sweden_gaming For Project Eden's Garden
|
|
2
|
+
using System;
|
|
3
|
+
using UnityEngine;
|
|
4
|
+
using UnityEngine.Serialization;
|
|
5
|
+
using UnityEngine.Rendering.Universal;
|
|
6
|
+
|
|
7
|
+
namespace DREditor.CamerasPostProcess
|
|
8
|
+
{
|
|
9
|
+
/// <summary>
|
|
10
|
+
///
|
|
11
|
+
/// </summary>
|
|
12
|
+
[Serializable]
|
|
13
|
+
public class PostProcessState : ScriptableObject
|
|
14
|
+
{
|
|
15
|
+
/// <summary>
|
|
16
|
+
///
|
|
17
|
+
/// </summary>
|
|
18
|
+
[Header("")]
|
|
19
|
+
|
|
20
|
+
[Tooltip("")]
|
|
21
|
+
[FormerlySerializedAs("id")]
|
|
22
|
+
public string cameraObjectName;
|
|
23
|
+
|
|
24
|
+
/// <summary>
|
|
25
|
+
///
|
|
26
|
+
/// </summary>
|
|
27
|
+
[Tooltip("")]
|
|
28
|
+
public LayerMask volumeMask;
|
|
29
|
+
|
|
30
|
+
/// <summary>
|
|
31
|
+
///
|
|
32
|
+
/// </summary>
|
|
33
|
+
[Tooltip("")]
|
|
34
|
+
public bool enabled;
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
public PostProcessState() { }
|
|
38
|
+
|
|
39
|
+
public virtual PostProcessState RecordState(UnityEngine.Camera camera)
|
|
40
|
+
{
|
|
41
|
+
cameraObjectName = camera.gameObject.name;
|
|
42
|
+
|
|
43
|
+
enabled = camera.IsPostProcessingEnabled();
|
|
44
|
+
|
|
45
|
+
volumeMask = camera.GetVolumeMask();
|
|
46
|
+
|
|
47
|
+
return this;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/// <summary>
|
|
51
|
+
///
|
|
52
|
+
/// </summary>
|
|
53
|
+
/// <param name="enabled"></param>
|
|
54
|
+
public virtual void SetEnabled(bool enabled) => this.enabled = enabled;
|
|
55
|
+
|
|
56
|
+
/// <summary>
|
|
57
|
+
///
|
|
58
|
+
/// </summary>
|
|
59
|
+
/// <param name="camera"></param>
|
|
60
|
+
public virtual void ApplyState(UnityEngine.Camera camera)
|
|
61
|
+
{
|
|
62
|
+
camera.SetPostProcessingTo(enabled);
|
|
63
|
+
|
|
64
|
+
camera.GetUniversalAdditionalCameraData().volumeLayerMask = volumeMask;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
//Author: Benjamin "Sweden" Jillson : Discord: sweden_gaming For Project Eden's Garden
|
|
2
|
+
using DREditor.Dialogues.Events;
|
|
3
|
+
using System.Collections.Generic;
|
|
4
|
+
using UnityEngine;
|
|
5
|
+
using UnityEngine.Events;
|
|
6
|
+
using UnityEngine.UI;
|
|
7
|
+
|
|
8
|
+
namespace DREditor.CamerasPostProcess
|
|
9
|
+
{
|
|
10
|
+
/// <summary>
|
|
11
|
+
///
|
|
12
|
+
/// </summary>
|
|
13
|
+
public class PostProcessingColorEventHandler : MonoBehaviour
|
|
14
|
+
{
|
|
15
|
+
/// <summary>
|
|
16
|
+
///
|
|
17
|
+
/// </summary>
|
|
18
|
+
[Header("")]
|
|
19
|
+
[Header("")]
|
|
20
|
+
[Divider]
|
|
21
|
+
[Tooltip("")]
|
|
22
|
+
[SerializeField] protected Graphic topGraphic = null;
|
|
23
|
+
|
|
24
|
+
/// <summary>
|
|
25
|
+
///
|
|
26
|
+
/// </summary>
|
|
27
|
+
[Tooltip("")]
|
|
28
|
+
[SerializeField] protected Graphic bottomGraphic = null;
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
/// <summary>
|
|
32
|
+
///
|
|
33
|
+
/// </summary>
|
|
34
|
+
[Header("")]
|
|
35
|
+
[Divider]
|
|
36
|
+
[Tooltip("")]
|
|
37
|
+
[SerializeField] protected List<string> setHSVEventStrings = new() { "SetHSV" };
|
|
38
|
+
|
|
39
|
+
/// <summary>
|
|
40
|
+
///
|
|
41
|
+
/// </summary>
|
|
42
|
+
[Tooltip("")]
|
|
43
|
+
[SerializeField] protected List<string> destroyPostProcessingEventStrings = new() { "DestroyPostProcess" };
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
/// <summary>
|
|
47
|
+
///
|
|
48
|
+
/// </summary>
|
|
49
|
+
protected Color originalHSVColor;
|
|
50
|
+
|
|
51
|
+
/// <summary>
|
|
52
|
+
///
|
|
53
|
+
/// </summary>
|
|
54
|
+
protected bool initializedColor = false;
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
/// <summary>
|
|
58
|
+
///
|
|
59
|
+
/// </summary>
|
|
60
|
+
protected virtual void Awake() => Initialize();
|
|
61
|
+
|
|
62
|
+
/// <summary>
|
|
63
|
+
///
|
|
64
|
+
/// </summary>
|
|
65
|
+
protected virtual void Initialize()
|
|
66
|
+
{
|
|
67
|
+
SetOriginalProtagHSV();
|
|
68
|
+
|
|
69
|
+
SubscribeToEvents();
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/// <summary>
|
|
73
|
+
///
|
|
74
|
+
/// </summary>
|
|
75
|
+
protected virtual void SetOriginalProtagHSV()
|
|
76
|
+
{
|
|
77
|
+
if (!initializedColor)
|
|
78
|
+
{
|
|
79
|
+
originalHSVColor = topGraphic.color;
|
|
80
|
+
|
|
81
|
+
initializedColor = true;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/// <summary>
|
|
86
|
+
///
|
|
87
|
+
/// </summary>
|
|
88
|
+
/// <param name="o"></param>
|
|
89
|
+
protected virtual void OnPostProcessEffectChange(object o = null) => SetProtagSpriteHSV((Color)o);
|
|
90
|
+
|
|
91
|
+
/// <summary>
|
|
92
|
+
///
|
|
93
|
+
/// </summary>
|
|
94
|
+
/// <param name="o"></param>
|
|
95
|
+
protected virtual void OnPostProcessDestroyed(object o = null) => SetProtagSpriteHSV(originalHSVColor);
|
|
96
|
+
|
|
97
|
+
/// <summary>
|
|
98
|
+
///
|
|
99
|
+
/// </summary>
|
|
100
|
+
/// <param name="color"></param>
|
|
101
|
+
protected virtual void SetProtagSpriteHSV(Color color)
|
|
102
|
+
{
|
|
103
|
+
SetOriginalProtagHSV();
|
|
104
|
+
|
|
105
|
+
ApplyColorToGraphics(color);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
/// <summary>
|
|
109
|
+
///
|
|
110
|
+
/// </summary>
|
|
111
|
+
/// <param name="color"></param>
|
|
112
|
+
protected virtual void ApplyColorToGraphics(Color color)
|
|
113
|
+
{
|
|
114
|
+
if (topGraphic != null)
|
|
115
|
+
topGraphic.ApplyColorNoAlpha(color);
|
|
116
|
+
|
|
117
|
+
if (bottomGraphic != null)
|
|
118
|
+
bottomGraphic.ApplyColorNoAlpha(color);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
/// <summary>
|
|
122
|
+
///
|
|
123
|
+
/// </summary>
|
|
124
|
+
protected virtual void OnDisable()
|
|
125
|
+
{
|
|
126
|
+
SetProtagSpriteHSV(originalHSVColor);
|
|
127
|
+
|
|
128
|
+
UnsubscribeToEvents();
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
/// <summary>
|
|
132
|
+
///
|
|
133
|
+
/// </summary>
|
|
134
|
+
protected virtual void SubscribeToEvents()
|
|
135
|
+
{
|
|
136
|
+
StartListeningToEvents(setHSVEventStrings, OnPostProcessEffectChange);
|
|
137
|
+
|
|
138
|
+
StartListeningToEvents(destroyPostProcessingEventStrings, OnPostProcessDestroyed);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
/// <summary>
|
|
142
|
+
///
|
|
143
|
+
/// </summary>
|
|
144
|
+
protected virtual void UnsubscribeToEvents()
|
|
145
|
+
{
|
|
146
|
+
StopListeningToEvents(setHSVEventStrings, OnPostProcessEffectChange);
|
|
147
|
+
|
|
148
|
+
StopListeningToEvents(destroyPostProcessingEventStrings, OnPostProcessDestroyed);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
/// <summary>
|
|
152
|
+
///
|
|
153
|
+
/// </summary>
|
|
154
|
+
/// <param name="eventStrings"></param>
|
|
155
|
+
/// <param name="listener"></param>
|
|
156
|
+
protected virtual void StartListeningToEvents(List<string> eventStrings, UnityAction<object> listener)
|
|
157
|
+
{
|
|
158
|
+
foreach (string eventString in eventStrings)
|
|
159
|
+
DialogueEventSystem.StartListening(eventString, listener);
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
/// <summary>
|
|
163
|
+
///
|
|
164
|
+
/// </summary>
|
|
165
|
+
/// <param name="eventStrings"></param>
|
|
166
|
+
/// <param name="listener"></param>
|
|
167
|
+
protected virtual void StopListeningToEvents(List<string> eventStrings, UnityAction<object> listener)
|
|
168
|
+
{
|
|
169
|
+
foreach (string eventString in eventStrings)
|
|
170
|
+
DialogueEventSystem.StopListening(eventString, listener);
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
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: 843c041e60e78294e9751f260164fcca, type: 3}
|
|
13
|
+
m_Name: BlurRenderQueueSettings
|
|
14
|
+
m_EditorClassIdentifier:
|
|
15
|
+
useRenderQueue: 0
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
%YAML 1.1
|
|
2
|
+
%TAG !u! tag:unity3d.com,2011:
|
|
3
|
+
--- !u!1 &8574453044846277577
|
|
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: 8574453044846277578}
|
|
12
|
+
- component: {fileID: 8574453044846277576}
|
|
13
|
+
- component: {fileID: 5250449327483197126}
|
|
14
|
+
m_Layer: 0
|
|
15
|
+
m_Name: Blur_Camera_Render_Manager
|
|
16
|
+
m_TagString: Untagged
|
|
17
|
+
m_Icon: {fileID: 0}
|
|
18
|
+
m_NavMeshLayer: 0
|
|
19
|
+
m_StaticEditorFlags: 0
|
|
20
|
+
m_IsActive: 1
|
|
21
|
+
--- !u!4 &8574453044846277578
|
|
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: 8574453044846277577}
|
|
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 &8574453044846277576
|
|
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: 8574453044846277577}
|
|
43
|
+
m_Enabled: 1
|
|
44
|
+
m_EditorHideFlags: 0
|
|
45
|
+
m_Script: {fileID: 11500000, guid: 8afa7dbabfb774c47b3cc430ab9cf22e, type: 3}
|
|
46
|
+
m_Name:
|
|
47
|
+
m_EditorClassIdentifier:
|
|
48
|
+
registerService: 1
|
|
49
|
+
dontDestroyOnLoad: 1
|
|
50
|
+
lowSpecCamRender: 0
|
|
51
|
+
renderingCodes: []
|
|
52
|
+
blurCamCode: {fileID: 11400000, guid: 10253ad84925dc542993b9b0989f1b59, type: 2}
|
|
53
|
+
dialogueCamera: {fileID: 0}
|
|
54
|
+
blurCameraEnabled: {fileID: 11400000, guid: f9a0665537114904fbfd0b309fff5fee, type: 2}
|
|
55
|
+
dialogueCameraName: Dialogue
|
|
56
|
+
blurCameraName: Blur
|
|
57
|
+
renderCamCode: Cam
|
|
58
|
+
--- !u!114 &5250449327483197126
|
|
59
|
+
MonoBehaviour:
|
|
60
|
+
m_ObjectHideFlags: 0
|
|
61
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
62
|
+
m_PrefabInstance: {fileID: 0}
|
|
63
|
+
m_PrefabAsset: {fileID: 0}
|
|
64
|
+
m_GameObject: {fileID: 8574453044846277577}
|
|
65
|
+
m_Enabled: 1
|
|
66
|
+
m_EditorHideFlags: 0
|
|
67
|
+
m_Script: {fileID: 11500000, guid: cf2dbc0c1f04233419616491c4f44eef, type: 3}
|
|
68
|
+
m_Name:
|
|
69
|
+
m_EditorClassIdentifier:
|
|
70
|
+
gameSettingID: BlurCameraQueueManager
|
|
71
|
+
blurCamManager: {fileID: 8574453044846277576}
|
|
72
|
+
renderQueueSettings: {fileID: 11400000, guid: cd2fc2ddb1b4e5d4e96cdef5ccc9f8f0,
|
|
73
|
+
type: 2}
|
|
@@ -0,0 +1,19 @@
|
|
|
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: a5dea720cfe57204d9652d88c134e44c, type: 3}
|
|
13
|
+
m_Name: PostProcessState Blur Camera
|
|
14
|
+
m_EditorClassIdentifier:
|
|
15
|
+
cameraObjectName: Blur_Camera
|
|
16
|
+
volumeMask:
|
|
17
|
+
serializedVersion: 2
|
|
18
|
+
m_Bits: 545
|
|
19
|
+
enabled: 0
|
|
@@ -0,0 +1,19 @@
|
|
|
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: a5dea720cfe57204d9652d88c134e44c, type: 3}
|
|
13
|
+
m_Name: PostProcessState Dialogue Camera
|
|
14
|
+
m_EditorClassIdentifier:
|
|
15
|
+
cameraObjectName: Dialogue_Camera
|
|
16
|
+
volumeMask:
|
|
17
|
+
serializedVersion: 2
|
|
18
|
+
m_Bits: 512
|
|
19
|
+
enabled: 1
|
|
@@ -0,0 +1,19 @@
|
|
|
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: a5dea720cfe57204d9652d88c134e44c, type: 3}
|
|
13
|
+
m_Name: PostProcessState Main Camera
|
|
14
|
+
m_EditorClassIdentifier:
|
|
15
|
+
cameraObjectName: Main_Camera
|
|
16
|
+
volumeMask:
|
|
17
|
+
serializedVersion: 2
|
|
18
|
+
m_Bits: 513
|
|
19
|
+
enabled: 1
|