Skip to content

Commit f689242

Browse files
authored
Merge pull request #4709 from keveleigh/interactable-new
Update States.cs to use CreateInstance instead of new
2 parents bb2af4e + 1a6ef82 commit f689242

File tree

1 file changed

+1
-1
lines changed
  • Assets/MixedRealityToolkit.SDK/Features/UX/Interactable/Scripts/States

1 file changed

+1
-1
lines changed

Assets/MixedRealityToolkit.SDK/Features/UX/Interactable/Scripts/States/States.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public class States : ScriptableObject
2525

2626
public static States GetDefaultInteractableStates()
2727
{
28-
States result = new States();
28+
States result = CreateInstance<States>();
2929

3030
InteractableStates allInteractableStates = new InteractableStates();
3131

0 commit comments

Comments
 (0)