Search code examples
c#unity-game-enginedrag-and-dropassets

Why can't I drag and drop items from the assets folder to the game editor screen in Unity3D?


Recently I was working on a project in Unity3D, just a simple game. But when I tried to attach a material from the assets folder with the drag-and-drop function, it didn't work. Does somebody know how to fix this?


Solution

  • Material is not a component. That why you cant attach it to a game object. You need to drag & drop it to Materials section in a Mesh Renderer. enter image description here