回答編集履歴
1
コメントを受けてスクリプト修正
answer
CHANGED
@@ -34,13 +34,23 @@
|
|
34
34
|
}
|
35
35
|
}
|
36
36
|
|
37
|
-
|
37
|
+
//表示する処理
|
38
38
|
private void Show() {
|
39
|
+
textbox01.text = "メニュー";
|
39
|
-
|
40
|
+
textbox02.text = "メンバー";
|
41
|
+
textbox03.text = "閉じる";
|
42
|
+
image01.CrossFadeColor(targetColor: Color.red, duration: 0f, ignoreTimeScale: true, useAlpha: true);
|
43
|
+
image02.CrossFadeColor(targetColor: Color.yellow, duration: 0f, ignoreTimeScale: true, useAlpha: true);
|
44
|
+
image02.CrossFadeColor(targetColor: Color.red, duration: 1f, ignoreTimeScale: true, useAlpha: true);
|
40
45
|
}
|
41
46
|
|
47
|
+
//非表示にする処理
|
42
48
|
private void Hide() {
|
49
|
+
textbox01.text = "";
|
43
|
-
|
50
|
+
textbox02.text = "";
|
51
|
+
textbox03.text = "";
|
52
|
+
image01.CrossFadeAlpha(0, 0f, true);
|
53
|
+
image02.CrossFadeAlpha(0, 0f, true);
|
44
54
|
}
|
45
55
|
```
|
46
56
|
---
|