// Use this for initialization void Start() { scenemaster = GameObject.FindGameObjectWithTag("sceneMaster"); psm = scenemaster.GetComponent <ProjectilesSceneMaster>(); //get the scenemaster for keeping track of the number of shots }
// Use this for initialization void Start () { sceneMaster = GameObject.FindGameObjectWithTag("sceneMaster"); //attach the scene master projectilemaster = sceneMaster.GetComponent<ProjectilesSceneMaster>(); }