質問編集履歴
2
内容更新
title
CHANGED
File without changes
|
body
CHANGED
@@ -18,13 +18,13 @@
|
|
18
18
|
static void ShowWindow()
|
19
19
|
{
|
20
20
|
// ウィンドウを表示!
|
21
|
-
EditorWindow.GetWindow<
|
21
|
+
EditorWindow.GetWindow<SetUGUI_02>();
|
22
22
|
}
|
23
23
|
|
24
|
-
|
24
|
+
GameObject Target_Obj = null;
|
25
25
|
void OnGUI()
|
26
26
|
{
|
27
|
-
Target_Obj = EditorGUILayout.ObjectField(
|
27
|
+
Target_Obj = (GameObject)EditorGUILayout.ObjectField( "Target_Obj" , Target_Obj , typeof(GameObject), false );
|
28
28
|
if( GUILayout.Button( "SetEvents",EditorStyles.miniButtonRight ) ){ Test(); }
|
29
29
|
}
|
30
30
|
|
@@ -40,5 +40,4 @@
|
|
40
40
|
|
41
41
|
|
42
42
|
エラーメッセージ
|
43
|
-
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?
|
44
43
|
SetUGUI_02.cs(30,38): error CS1501: No overload for method `AddObjectPersistentListener' takes `2' arguments
|
1
内容の更新
title
CHANGED
File without changes
|
body
CHANGED
@@ -36,4 +36,9 @@
|
|
36
36
|
|
37
37
|
}
|
38
38
|
|
39
|
-
}
|
39
|
+
}
|
40
|
+
|
41
|
+
|
42
|
+
エラーメッセージ
|
43
|
+
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?
|
44
|
+
SetUGUI_02.cs(30,38): error CS1501: No overload for method `AddObjectPersistentListener' takes `2' arguments
|