// Start is called before the first frame update void Start() { // gets a reference to out player input. player = FindObjectOfType <PlayerInput>(); spawningColumns = FindObjectOfType <ColumnSpawner>(); uiManager = FindObjectOfType <UIManager>(); }
private void Start() { colSpawner = GetComponent <ColumnSpawner>(); }