public void SwapToCreature(Tile onTile) { enabled = false; Creature.enabled = true; // set card pile to board if (Board.Instance != null) { MoveToCardPile(Board.Instance, null); // null to signal by game mechanics } // resize cardToPermanentConverter.DoConversion(onTile.transform.position); Debug.Log("aaaaa"); //Creature.SynCreatureOnTile(onTile); }
public void ResizeToPermanent(Vector3 newPosition) => cardToPermanentConverter.DoConversion(newPosition);