How do you create a material asset (MyMaterial.mat) in Unity using Specular Shader through scripting?
Correct Answer: static void CreateAsset() { Material material = new Material(Shader.Find("Specular")); AssetDatabase.CreateAsset(material, "Assets/MyMaterial.mat"); }
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More Unity3D MCQ Questions