Search Unity

Attaching managing scripts to main camera

Discussion in 'Scripting' started by Deleted User, May 31, 2014.

  1. Deleted User

    Deleted User

    Guest

    I've recently made a a script called Weapon Manager, basically managing the different weapons in my game.

    And what I wanted to know was what I should attach the script to to get it to run, I've seen multiple people use empty game objects to get the job done, but I wanted to know if I could just attach the script to the main camera object. I know that using this method works, but is using empty game objects for this better in any way?