// Start is called before the first frame update void Start() { selector = FindObjectOfType <TileSelector>(); selector.SetMoves(maxMoves); }