Player selector separated

This commit is contained in:
RochesterX
2025-02-19 20:11:57 -05:00
parent feeebaafc9
commit 730a664158
11 changed files with 388 additions and 116 deletions

View File

@@ -16,7 +16,7 @@ public class PlayerCardCreator : MonoBehaviour
}
}
public PlayerJoinCard CreateCard(PlayerInput input)
public PlayerJoinCard CreateCard()
{
GameObject card = Instantiate(playerJoinCardPrefab, transform);
return card.GetComponent<PlayerJoinCard>();