void Start() { templates = GameObject.FindGameObjectWithTag("Enigma").GetComponent <EnigmaTemplates>(); templates.listposlaser.Add(this.gameObject); }
void Start() { templates = GameObject.FindGameObjectWithTag("Enigma").GetComponent <EnigmaTemplates>(); templates.bigoffice.Add(this.gameObject); }