質問編集履歴
2
ソースコードの変更
test
CHANGED
File without changes
|
test
CHANGED
@@ -36,7 +36,7 @@
|
|
36
36
|
|
37
37
|
void Start(){
|
38
38
|
|
39
|
-
True1.DigitalOutput = false;
|
39
|
+
True1.GetComponent<DigitalOutput>().enabled = false;
|
40
40
|
|
41
41
|
}
|
42
42
|
|
@@ -50,6 +50,8 @@
|
|
50
50
|
|
51
51
|
```
|
52
52
|
|
53
|
-
Assets/Monobit Unity Networking/Samples/Scripts/SimpleChat/SimpleChat.cs(32,
|
53
|
+
Assets/Monobit Unity Networking/Samples/Scripts/SimpleChat/SimpleChat.cs(32,22): error CS0246: The type or namespace name `DigitalOutput' could not be found. Are you missing `Ardunity' using directive?
|
54
|
+
|
55
|
+
|
54
56
|
|
55
57
|
```
|
1
画像の追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -12,6 +12,14 @@
|
|
12
12
|
|
13
13
|
|
14
14
|
|
15
|
+
![True1のインスペクター](3e0d85bbe566f6bddaa9aa35825822e6.png)
|
16
|
+
|
17
|
+
![ヒエラルキー](aec9b6a5a8a2f5bce4c426bc0ac2cee8.png)
|
18
|
+
|
19
|
+
![イメージ説明](8c32b1dee159681b60f2681c6d3c0287.png)
|
20
|
+
|
21
|
+
|
22
|
+
|
15
23
|
###試したこと
|
16
24
|
|
17
25
|
下記のように実行したところ、エラーが発生
|
@@ -19,6 +27,8 @@
|
|
19
27
|
なお、無効化したいスクリプトはTrue1というオブジェクトにアタッチされたDigitalOutputというスクリプトです。
|
20
28
|
|
21
29
|
```C#
|
30
|
+
|
31
|
+
//SceneScriptにアタッチされている
|
22
32
|
|
23
33
|
public GameObject True1;
|
24
34
|
|