質問編集履歴
7
title
CHANGED
File without changes
|
body
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Unity 2021 Visual Scripting(bolt)で、Dictionaryにint,myStructをsaved variableとして使用したいです。
|
4
4
|
boltのインスペクタで変数が表示される所までは上手く出来ました。
|
5
|
-
しかしdicionary key0の変数timeLinePrefabにAを設定し、key1にはBを設定すると、key0のAもBに
|
5
|
+
しかしdicionary key0の変数timeLinePrefabにAを設定し、key1にはBを設定すると、key0のAもBの値に上書きされてしまいます。
|
6
6
|
これを回避するにはどうすれば良いですか?
|
7
7
|
|
8
8
|
```ここに言語を入力
|
6
title
CHANGED
@@ -1,1 +1,1 @@
|
|
1
|
-
Visual Scripting(Bolt)でDictonaryのStruct型の要素値が同一になりユニーク値にならない
|
1
|
+
Unity Visual Scripting(Bolt)でDictonaryのStruct型の要素値が同一になりユニーク値にならない
|
body
CHANGED
File without changes
|
5
title
CHANGED
@@ -1,1 +1,1 @@
|
|
1
|
-
|
1
|
+
Visual Scripting(Bolt)でDictonaryのStruct型の要素値が同一になりユニーク値にならない
|
body
CHANGED
File without changes
|
4
title
CHANGED
File without changes
|
body
CHANGED
@@ -11,7 +11,7 @@
|
|
11
11
|
|
12
12
|
[System.Serializable]
|
13
13
|
[Inspectable]
|
14
|
-
public
|
14
|
+
public struct StageStruct
|
15
15
|
{
|
16
16
|
[Inspectable] public GameObject timeLinePrefab;
|
17
17
|
[Inspectable] public Material backGroundMaterial; // nullならステージ1のマテリアル使用する事
|
3
スクリーンショットに説明を追加テキスト追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
}
|
21
21
|
```
|
22
22
|
|
23
|
-

|
2
スクリーンショットに説明を追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
}
|
21
21
|
```
|
22
22
|
|
23
|
-

|
1
スクリーンショットの追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -18,4 +18,6 @@
|
|
18
18
|
[Inspectable] public bool isCleard;
|
19
19
|
[Inspectable] public int cleardScore = 0;
|
20
20
|
}
|
21
|
-
```
|
21
|
+
```
|
22
|
+
|
23
|
+

|