private void Update() { if (Input.GetKeyDown(KeyCode.A)) { int rng = UnityEngine.Random.Range(0, PF_GameData.Classes.Count); PF_PlayerData.CreateNewCharacter(PF_GameData.Classes.ToList()[rng].Value.CatalogCode, PF_GameData.Classes.ToList()[rng].Value); } if (Input.GetKeyDown(KeyCode.F)) { PF_PlayerData.DrawCharactersToUser(); } }
public void DrawCard() { PF_PlayerData.DrawCharactersToUser(); drawButton.interactable = false; }