質問編集履歴

2

誤字

2020/09/06 05:19

投稿

RYUGONSP
RYUGONSP

スコア81

test CHANGED
File without changes
test CHANGED
@@ -4,33 +4,9 @@
4
4
 
5
5
  {
6
6
 
7
- if (isPlayerCard)
8
-
9
- {
10
-
11
- foreach (Transform card in playerHandTransform)
12
-
13
- {
14
-
15
- Debug.Log(cost);
16
-
17
7
  Destroy(playerHandTransform.GetChild(0).gameObject);
18
8
 
19
- //Destroy(playerHandTransform.GetChild(UnityEngine.Random.Range(0, transform.childCount)).gameObject);
20
-
21
- }
9
+      }
22
-
23
- }
24
-
25
- else
26
-
27
- {
28
-
29
- enemyManaCost -= cost;
30
-
31
- }
32
-
33
- }
34
10
 
35
11
  ```
36
12
 

1

誤字

2020/09/06 05:19

投稿

RYUGONSP
RYUGONSP

スコア81

test CHANGED
File without changes
test CHANGED
@@ -14,7 +14,7 @@
14
14
 
15
15
  Debug.Log(cost);
16
16
 
17
- Destroy(playerHandTransform.GetChild(1).gameObject);
17
+ Destroy(playerHandTransform.GetChild(0).gameObject);
18
18
 
19
19
  //Destroy(playerHandTransform.GetChild(UnityEngine.Random.Range(0, transform.childCount)).gameObject);
20
20