Skip to content

Commit 38d38e2

Browse files
PR feedback
1 parent cd85c9d commit 38d38e2

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

Editor/ProxyFeedbackEditor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ namespace UnityEditor.Experimental.EditorVR.UI
88
{
99
sealed class ProxyFeedbackEditor : EditorWindow
1010
{
11-
Dictionary<Type, SerializedProxyFeedback> m_SerializedFeedback = new Dictionary<Type, SerializedProxyFeedback>();
11+
readonly Dictionary<Type, SerializedProxyFeedback> m_SerializedFeedback = new Dictionary<Type, SerializedProxyFeedback>();
1212
Vector2 m_Scroll;
1313

1414
[MenuItem("Edit/Project Settings/EditorXR/Proxy Feedback")]

Scripts/Modules/SerializedPreferencesModule.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,8 @@ static void Deserialize(SerializedPreferences preferences, ISerializePreferences
148148
if (preferences.items.TryGetValue(serializer.GetType(), out item))
149149
{
150150
var type = Type.GetType(item.payloadType);
151-
if (type == null)
152-
return;
151+
if (type == null)
152+
return;
153153

154154
var payload = JsonUtility.FromJson(item.payload, type);
155155
serializer.OnDeserializePreferences(payload);

Scripts/Proxies/Data/SerializedProxyFeedback.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,11 @@ public override string ToString()
7676
[Serializable]
7777
class RequestData
7878
{
79-
readonly Action m_OnBecameVisible;
80-
8179
[SerializeField]
8280
int m_Presentations;
8381

82+
readonly Action m_OnBecameVisible;
83+
8484
/// <summary>
8585
/// How many times the user viewed the presentation of this type of request
8686
/// </summary>

0 commit comments

Comments
 (0)