Fix and update engine assets

This commit is contained in:
2023-07-04 11:05:32 +02:00
parent 615ec636d4
commit d31fc32399
4 changed files with 11 additions and 7 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -41,7 +41,11 @@ namespace FlaxEditor.CustomEditors.Editors
}
else
{
element.CustomControl.Value = (Color)Values[0];
var value = Values[0];
if (value is Color asColor)
element.CustomControl.Value = asColor;
else if (value is Float4 asFloat4)
element.CustomControl.Value = asFloat4;
}
}
}