Ejemplo n.º 1
0
 private void Awake()
 {
     firstWeaponDropdown = GetComponentsInChildren <Dropdown>(true).First(component => component.name == "WeaponDropdown");
     canvas   = transform.Find("Canvas").gameObject;
     listing  = GetComponentInParent <Listing>();
     spawning = GetComponentInParent <Spawning>();
 }
 private void Awake()
 {
     identificator = GetComponent <Identificator>();
     spawning      = GetComponent <Spawning>();
 }