コード例 #1
0
 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();
     }
 }
コード例 #2
0
 public void DrawCard()
 {
     PF_PlayerData.DrawCharactersToUser();
     drawButton.interactable = false;
 }