We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01d267d commit e470d3bCopy full SHA for e470d3b
Assets/MRTK/Tests/EditModeTests/Tools/MigrationToolTests.cs
@@ -79,7 +79,7 @@ public void ButtonMigrationTest()
79
quadRenderer.sharedMaterial = testMat;
80
81
ButtonConfigHelper buttonConfig = buttonGameObject.GetComponent<ButtonConfigHelper>();
82
- ButtonIconSet testIconSet = new ButtonIconSet();
+ ButtonIconSet testIconSet = ScriptableObject.CreateInstance<ButtonIconSet>();
83
buttonConfig.IconStyle = ButtonIconStyle.Quad;
84
buttonConfig.IconSet = testIconSet;
85
buttonConfig.EditorSetDefaultIconSet(testIconSet);
0 commit comments