private void Start() { l = this.GetComponentInChildren <Light>(); flicker = this.GetComponentInChildren <IntermittentLight>(); myRenderer = this.GetComponent <Renderer>(); id = this.GetComponent <IndividualDialogue>(); mat = myRenderer.material; flicker.enabled = false; hit = false; }
private void Start() { id = this.GetComponent <IndividualDialogue>(); }