i wrote public material newMaterial; and when i save and go to unity there’s no option to drag a material in.
Do you have compile errors in your console?
If you wrote it exactly as your shared here, it’s not correct. The “M” in “Material” must be capitalized:public Material newMaterial;