I have a script that shoots spheres with:
var projectile : Rigidbody;
I want to attach a sphere asset to the script, but it only allows me to attach an instance of the sphere from the scene.
The problem if I use a scene instance is once after it collides I call Destroy(gameObject) on it and then I cant create anymore…
So I want to set the script to use the sphere asset from the project.
What I am I doing wrong? (Unity noob)
I figured it out - needed to create a Prefab of the sphere