I don’t think I am understanding how to instantiate a prefab correclty in c#.
In my project I have a prefab called PlayerProjectilePrefab.
In my code I do:
Object prefab = Resources.Load(“PlayerProjectilePrefab”);
Instantiate(prefab);
but the object is being set to null. Any ideas what is happening here?
Thanks