scrubette

0 answers · asked · Lesson: Using Components · Course: Game C# Programming Bootcamp

Why would you want to attach a script to an object that it doesn't control?

in what situation, or I guess why would you want to attach a script to an object that it doesn't control? 


For example, you put the gravity script on the ramp, and then the sphere in the inspector with no script on the sphere. How is this useful or in what cases would this be needed?