I am a beginner in game development and C#. I have some knowledge about casting in programming. I am following a tutorial. I am having problems with understanding this following sentence.
GameObject obj = (GameObject)Instantiate(bullet);
Why we need to cast "Instantiate(bullet)" to GameObject ? Isn't that already a GameObject ? Explain me please or provide some links to learn about this? Thank you. (sorry for my poor English).