Neither of the 2 following lines later material, although they both run without any null reference exception:
mymaterial = Resources.Load("green tiles 1", typeof(Material)) as Material;
mymaterial = Resources.Load("green tiles 1" as Material;
do I have to reference the folder of the material?