Ejemplo n.º 1
0
 void Start()
 {
     commanderInput = GetComponent <CommanderInput>();
 }
Ejemplo n.º 2
0
 void Start()
 {
     gameObject.GetComponent <Button>().onClick.AddListener(TaskOnClick);
     commanderInput = GetComponentInParent <CommanderInput>();
 }