質問編集履歴
2
内容更新
test
CHANGED
File without changes
|
test
CHANGED
@@ -38,19 +38,19 @@
|
|
38
38
|
|
39
39
|
// ウィンドウを表示!
|
40
40
|
|
41
|
-
EditorWindow.GetWindow<SetUGUI_0
|
41
|
+
EditorWindow.GetWindow<SetUGUI_02>();
|
42
42
|
|
43
43
|
}
|
44
44
|
|
45
45
|
|
46
46
|
|
47
|
-
Object Target_Obj;
|
47
|
+
GameObject Target_Obj = null;
|
48
48
|
|
49
49
|
void OnGUI()
|
50
50
|
|
51
51
|
{
|
52
52
|
|
53
|
-
Target_Obj = EditorGUILayout.ObjectField(
|
53
|
+
Target_Obj = (GameObject)EditorGUILayout.ObjectField( "Target_Obj" , Target_Obj , typeof(GameObject), false );
|
54
54
|
|
55
55
|
if( GUILayout.Button( "SetEvents",EditorStyles.miniButtonRight ) ){ Test(); }
|
56
56
|
|
@@ -82,6 +82,4 @@
|
|
82
82
|
|
83
83
|
エラーメッセージ
|
84
84
|
|
85
|
-
SetUGUI_02.cs(30,154): error CS1061: Type `UnityEngine.Object' does not contain a definition for `transform' and no extension method `transform' of type `UnityEngine.Object' could be found. Are you missing an assembly reference?
|
86
|
-
|
87
85
|
SetUGUI_02.cs(30,38): error CS1501: No overload for method `AddObjectPersistentListener' takes `2' arguments
|
1
内容の更新
test
CHANGED
File without changes
|
test
CHANGED
@@ -75,3 +75,13 @@
|
|
75
75
|
|
76
76
|
|
77
77
|
}
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
エラーメッセージ
|
84
|
+
|
85
|
+
SetUGUI_02.cs(30,154): error CS1061: Type `UnityEngine.Object' does not contain a definition for `transform' and no extension method `transform' of type `UnityEngine.Object' could be found. Are you missing an assembly reference?
|
86
|
+
|
87
|
+
SetUGUI_02.cs(30,38): error CS1501: No overload for method `AddObjectPersistentListener' takes `2' arguments
|