void Awake() { fila = FindObjectOfType <Fila>(); tr = GetComponent <Transform>(); ctrlVaiPonto = GetComponent <ControladorVaiAtePonto>(); id = ++ultimoIDFila; }
void Awake() { cadeiras = FindObjectOfType <Cadeiras>(); ctrlVaiAtePonto = GetComponent <ControladorVaiAtePonto>(); }
void Awake() { ctrlVaiAtePonto = GetComponent <ControladorVaiAtePonto>(); tr = GetComponent <Transform>(); }