void Start() { sector = Object.Instantiate(Resources.Load <GameObject> ("levelPublic/ShootSector")) as GameObject; sector.SetActive(false); GameObject.DontDestroyOnLoad(sector); sm = GetComponent <ShootManager> (); attr = NetworkUtil.GetAttr(this.gameObject); sm.attr = attr; }