コード例 #1
0
 void Start()
 {
     templates = GameObject.FindGameObjectWithTag("Enigma").GetComponent <EnigmaTemplates>();
     templates.listposlaser.Add(this.gameObject);
 }
コード例 #2
0
 void Start()
 {
     templates = GameObject.FindGameObjectWithTag("Enigma").GetComponent <EnigmaTemplates>();
     templates.bigoffice.Add(this.gameObject);
 }