I am trying to add behaviour to the sun in the solar system by dragging the script and dropping it ,it is not all adding anything to the object.
A MonoBehaviour , new C# script you mean? Do you have any errors in the console?
It should be as simple as you say, just drag n drop it onto the object. You can drag it on in the hierarchy or the inspector. You can also click add component, then search for the script and add it that way, as well.
I believe if the script has errors in it, you will be unable to add it to an object.
1 Like