Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ public enum CapsuleHandPreset
Ultraleap
}

private CapsuleHandPreset _preset;
[SerializeField]
private CapsuleHandPreset _preset;
public CapsuleHandPreset Preset
{
get
Expand Down
11 changes: 6 additions & 5 deletions Packages/Tracking/Core/Runtime/Scripts/UltraleapSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -242,16 +242,16 @@ public static bool AutomaticallyUpgradeMaterialsToCurrentRenderPipeline
{
if (!EditorPrefs.HasKey(automaticallyUpgradeMaterialsToCurrentRenderPipelineEnvironmentVariableName))
{
AutomaticallyUpgradeMaterialsToCurrentRenderPipeline = defaultValueForAutomaticallyUpgradingMaterialsForActiveRenderPipeline;
return defaultValueForAutomaticallyUpgradingMaterialsForActiveRenderPipeline;
_AutomaticallyUpgradeMaterialsToCurrentRenderPipeline = defaultValueForAutomaticallyUpgradingMaterialsForActiveRenderPipeline;
}
else
{
bool value = EditorPrefs.GetBool(automaticallyUpgradeMaterialsToCurrentRenderPipelineEnvironmentVariableName);
return value;
_AutomaticallyUpgradeMaterialsToCurrentRenderPipeline = EditorPrefs.GetBool(automaticallyUpgradeMaterialsToCurrentRenderPipelineEnvironmentVariableName);
}

return _AutomaticallyUpgradeMaterialsToCurrentRenderPipeline;
}

set
{
if (value != AutomaticallyUpgradeMaterialsToCurrentRenderPipeline)
Expand All @@ -273,6 +273,7 @@ public static bool AutomaticallyUpgradeMaterialsToCurrentRenderPipeline
}
#endif
}
private static bool _AutomaticallyUpgradeMaterialsToCurrentRenderPipeline;

[HideInInspector, SerializeField]
public string pluginVersion = "Unknown";
Expand Down