I get the error Expression denotes a
type', where a variable’,
value' or method group’ was expected whenever I try to do this code:
mat = EditorGUILayout.ObjectField(mat, Material, true);
People say you use the ‘new’ keyword before it, but I couldn’t get it to work.