public override void Start() { base.Start(); teaserReticle = Instantiate(hitReticle, this.transform.parent).GetComponent <BoxReticle>(); teaserReticle.projWidth = attackWidth; teaserReticle.projHeight = attackHeight; teaserReticle.ignoreLayer = gameObject.layer; teaserReticle.name = "TeaserReticle"; teaserReticle.updateValues(); teaserReticle.Disable(); teaserReticle.gameObject.SetActive(false); }