Showing
2 changed files
with
247 additions
and
6 deletions
... | @@ -225,6 +225,7 @@ RectTransform: | ... | @@ -225,6 +225,7 @@ RectTransform: |
225 | m_LocalScale: {x: 0, y: 0, z: 0} | 225 | m_LocalScale: {x: 0, y: 0, z: 0} |
226 | m_Children: | 226 | m_Children: |
227 | - {fileID: 1608020634} | 227 | - {fileID: 1608020634} |
228 | + - {fileID: 1793793469} | ||
228 | m_Father: {fileID: 0} | 229 | m_Father: {fileID: 0} |
229 | m_RootOrder: 3 | 230 | m_RootOrder: 3 |
230 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} | 231 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |
... | @@ -499,7 +500,7 @@ GameObject: | ... | @@ -499,7 +500,7 @@ GameObject: |
499 | m_Icon: {fileID: 0} | 500 | m_Icon: {fileID: 0} |
500 | m_NavMeshLayer: 0 | 501 | m_NavMeshLayer: 0 |
501 | m_StaticEditorFlags: 0 | 502 | m_StaticEditorFlags: 0 |
502 | - m_IsActive: 1 | 503 | + m_IsActive: 0 |
503 | --- !u!114 &838204467 | 504 | --- !u!114 &838204467 |
504 | MonoBehaviour: | 505 | MonoBehaviour: |
505 | m_ObjectHideFlags: 0 | 506 | m_ObjectHideFlags: 0 |
... | @@ -634,7 +635,7 @@ RectTransform: | ... | @@ -634,7 +635,7 @@ RectTransform: |
634 | m_GameObject: {fileID: 838204466} | 635 | m_GameObject: {fileID: 838204466} |
635 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | 636 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} |
636 | m_LocalPosition: {x: 0, y: 0, z: 100} | 637 | m_LocalPosition: {x: 0, y: 0, z: 100} |
637 | - m_LocalScale: {x: 20, y: 20, z: 200} | 638 | + m_LocalScale: {x: 10, y: 10, z: 200} |
638 | m_Children: [] | 639 | m_Children: [] |
639 | m_Father: {fileID: 0} | 640 | m_Father: {fileID: 0} |
640 | m_RootOrder: 8 | 641 | m_RootOrder: 8 |
... | @@ -863,6 +864,7 @@ GameObject: | ... | @@ -863,6 +864,7 @@ GameObject: |
863 | m_Component: | 864 | m_Component: |
864 | - component: {fileID: 1493332137} | 865 | - component: {fileID: 1493332137} |
865 | - component: {fileID: 1493332136} | 866 | - component: {fileID: 1493332136} |
867 | + - component: {fileID: 1493332138} | ||
866 | m_Layer: 0 | 868 | m_Layer: 0 |
867 | m_Name: Game Manager | 869 | m_Name: Game Manager |
868 | m_TagString: Untagged | 870 | m_TagString: Untagged |
... | @@ -897,6 +899,56 @@ Transform: | ... | @@ -897,6 +899,56 @@ Transform: |
897 | m_Father: {fileID: 0} | 899 | m_Father: {fileID: 0} |
898 | m_RootOrder: 5 | 900 | m_RootOrder: 5 |
899 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} | 901 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |
902 | +--- !u!212 &1493332138 | ||
903 | +SpriteRenderer: | ||
904 | + m_ObjectHideFlags: 0 | ||
905 | + m_CorrespondingSourceObject: {fileID: 0} | ||
906 | + m_PrefabInstance: {fileID: 0} | ||
907 | + m_PrefabAsset: {fileID: 0} | ||
908 | + m_GameObject: {fileID: 1493332135} | ||
909 | + m_Enabled: 1 | ||
910 | + m_CastShadows: 0 | ||
911 | + m_ReceiveShadows: 0 | ||
912 | + m_DynamicOccludee: 1 | ||
913 | + m_MotionVectors: 1 | ||
914 | + m_LightProbeUsage: 1 | ||
915 | + m_ReflectionProbeUsage: 1 | ||
916 | + m_RayTracingMode: 0 | ||
917 | + m_RenderingLayerMask: 1 | ||
918 | + m_RendererPriority: 0 | ||
919 | + m_Materials: | ||
920 | + - {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} | ||
921 | + m_StaticBatchInfo: | ||
922 | + firstSubMesh: 0 | ||
923 | + subMeshCount: 0 | ||
924 | + m_StaticBatchRoot: {fileID: 0} | ||
925 | + m_ProbeAnchor: {fileID: 0} | ||
926 | + m_LightProbeVolumeOverride: {fileID: 0} | ||
927 | + m_ScaleInLightmap: 1 | ||
928 | + m_ReceiveGI: 1 | ||
929 | + m_PreserveUVs: 0 | ||
930 | + m_IgnoreNormalsForChartDetection: 0 | ||
931 | + m_ImportantGI: 0 | ||
932 | + m_StitchLightmapSeams: 1 | ||
933 | + m_SelectedEditorRenderState: 0 | ||
934 | + m_MinimumChartSize: 4 | ||
935 | + m_AutoUVMaxDistance: 0.5 | ||
936 | + m_AutoUVMaxAngle: 89 | ||
937 | + m_LightmapParameters: {fileID: 0} | ||
938 | + m_SortingLayerID: 0 | ||
939 | + m_SortingLayer: 0 | ||
940 | + m_SortingOrder: 5 | ||
941 | + m_Sprite: {fileID: 0} | ||
942 | + m_Color: {r: 1, g: 1, b: 1, a: 1} | ||
943 | + m_FlipX: 0 | ||
944 | + m_FlipY: 0 | ||
945 | + m_DrawMode: 0 | ||
946 | + m_Size: {x: 1, y: 1} | ||
947 | + m_AdaptiveModeThreshold: 0.5 | ||
948 | + m_SpriteTileMode: 0 | ||
949 | + m_WasSpriteAssigned: 0 | ||
950 | + m_MaskInteraction: 0 | ||
951 | + m_SpriteSortPoint: 0 | ||
900 | --- !u!1 &1608020633 | 952 | --- !u!1 &1608020633 |
901 | GameObject: | 953 | GameObject: |
902 | m_ObjectHideFlags: 0 | 954 | m_ObjectHideFlags: 0 |
... | @@ -906,6 +958,7 @@ GameObject: | ... | @@ -906,6 +958,7 @@ GameObject: |
906 | serializedVersion: 6 | 958 | serializedVersion: 6 |
907 | m_Component: | 959 | m_Component: |
908 | - component: {fileID: 1608020634} | 960 | - component: {fileID: 1608020634} |
961 | + - component: {fileID: 1608020635} | ||
909 | m_Layer: 5 | 962 | m_Layer: 5 |
910 | m_Name: BtnGroup | 963 | m_Name: BtnGroup |
911 | m_TagString: Untagged | 964 | m_TagString: Untagged |
... | @@ -936,6 +989,56 @@ RectTransform: | ... | @@ -936,6 +989,56 @@ RectTransform: |
936 | m_AnchoredPosition: {x: 0, y: 0} | 989 | m_AnchoredPosition: {x: 0, y: 0} |
937 | m_SizeDelta: {x: 100, y: 100} | 990 | m_SizeDelta: {x: 100, y: 100} |
938 | m_Pivot: {x: 0.5, y: 0.5} | 991 | m_Pivot: {x: 0.5, y: 0.5} |
992 | +--- !u!212 &1608020635 | ||
993 | +SpriteRenderer: | ||
994 | + m_ObjectHideFlags: 0 | ||
995 | + m_CorrespondingSourceObject: {fileID: 0} | ||
996 | + m_PrefabInstance: {fileID: 0} | ||
997 | + m_PrefabAsset: {fileID: 0} | ||
998 | + m_GameObject: {fileID: 1608020633} | ||
999 | + m_Enabled: 1 | ||
1000 | + m_CastShadows: 0 | ||
1001 | + m_ReceiveShadows: 0 | ||
1002 | + m_DynamicOccludee: 1 | ||
1003 | + m_MotionVectors: 1 | ||
1004 | + m_LightProbeUsage: 1 | ||
1005 | + m_ReflectionProbeUsage: 1 | ||
1006 | + m_RayTracingMode: 0 | ||
1007 | + m_RenderingLayerMask: 1 | ||
1008 | + m_RendererPriority: 0 | ||
1009 | + m_Materials: | ||
1010 | + - {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} | ||
1011 | + m_StaticBatchInfo: | ||
1012 | + firstSubMesh: 0 | ||
1013 | + subMeshCount: 0 | ||
1014 | + m_StaticBatchRoot: {fileID: 0} | ||
1015 | + m_ProbeAnchor: {fileID: 0} | ||
1016 | + m_LightProbeVolumeOverride: {fileID: 0} | ||
1017 | + m_ScaleInLightmap: 1 | ||
1018 | + m_ReceiveGI: 1 | ||
1019 | + m_PreserveUVs: 0 | ||
1020 | + m_IgnoreNormalsForChartDetection: 0 | ||
1021 | + m_ImportantGI: 0 | ||
1022 | + m_StitchLightmapSeams: 1 | ||
1023 | + m_SelectedEditorRenderState: 0 | ||
1024 | + m_MinimumChartSize: 4 | ||
1025 | + m_AutoUVMaxDistance: 0.5 | ||
1026 | + m_AutoUVMaxAngle: 89 | ||
1027 | + m_LightmapParameters: {fileID: 0} | ||
1028 | + m_SortingLayerID: 0 | ||
1029 | + m_SortingLayer: 0 | ||
1030 | + m_SortingOrder: 2 | ||
1031 | + m_Sprite: {fileID: 0} | ||
1032 | + m_Color: {r: 1, g: 1, b: 1, a: 1} | ||
1033 | + m_FlipX: 0 | ||
1034 | + m_FlipY: 0 | ||
1035 | + m_DrawMode: 0 | ||
1036 | + m_Size: {x: 1, y: 1} | ||
1037 | + m_AdaptiveModeThreshold: 0.5 | ||
1038 | + m_SpriteTileMode: 0 | ||
1039 | + m_WasSpriteAssigned: 0 | ||
1040 | + m_MaskInteraction: 0 | ||
1041 | + m_SpriteSortPoint: 0 | ||
939 | --- !u!1 &1633642541 | 1042 | --- !u!1 &1633642541 |
940 | GameObject: | 1043 | GameObject: |
941 | m_ObjectHideFlags: 0 | 1044 | m_ObjectHideFlags: 0 |
... | @@ -1062,6 +1165,144 @@ MonoBehaviour: | ... | @@ -1062,6 +1165,144 @@ MonoBehaviour: |
1062 | m_StringArgument: | 1165 | m_StringArgument: |
1063 | m_BoolArgument: 0 | 1166 | m_BoolArgument: 0 |
1064 | m_CallState: 2 | 1167 | m_CallState: 2 |
1168 | +--- !u!1 &1793793468 | ||
1169 | +GameObject: | ||
1170 | + m_ObjectHideFlags: 0 | ||
1171 | + m_CorrespondingSourceObject: {fileID: 0} | ||
1172 | + m_PrefabInstance: {fileID: 0} | ||
1173 | + m_PrefabAsset: {fileID: 0} | ||
1174 | + serializedVersion: 6 | ||
1175 | + m_Component: | ||
1176 | + - component: {fileID: 1793793469} | ||
1177 | + - component: {fileID: 1793793471} | ||
1178 | + - component: {fileID: 1793793470} | ||
1179 | + - component: {fileID: 1793793472} | ||
1180 | + - component: {fileID: 1793793473} | ||
1181 | + m_Layer: 5 | ||
1182 | + m_Name: follow | ||
1183 | + m_TagString: Untagged | ||
1184 | + m_Icon: {fileID: 0} | ||
1185 | + m_NavMeshLayer: 0 | ||
1186 | + m_StaticEditorFlags: 0 | ||
1187 | + m_IsActive: 1 | ||
1188 | +--- !u!224 &1793793469 | ||
1189 | +RectTransform: | ||
1190 | + m_ObjectHideFlags: 0 | ||
1191 | + m_CorrespondingSourceObject: {fileID: 0} | ||
1192 | + m_PrefabInstance: {fileID: 0} | ||
1193 | + m_PrefabAsset: {fileID: 0} | ||
1194 | + m_GameObject: {fileID: 1793793468} | ||
1195 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
1196 | + m_LocalPosition: {x: 0, y: 0, z: 150} | ||
1197 | + m_LocalScale: {x: 1, y: 1, z: 200} | ||
1198 | + m_Children: [] | ||
1199 | + m_Father: {fileID: 7729243} | ||
1200 | + m_RootOrder: 1 | ||
1201 | + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} | ||
1202 | + m_AnchorMin: {x: 0.5, y: 0.5} | ||
1203 | + m_AnchorMax: {x: 0.5, y: 0.5} | ||
1204 | + m_AnchoredPosition: {x: 0, y: 10} | ||
1205 | + m_SizeDelta: {x: 50, y: 50} | ||
1206 | + m_Pivot: {x: 0.5, y: 0.5} | ||
1207 | +--- !u!114 &1793793470 | ||
1208 | +MonoBehaviour: | ||
1209 | + m_ObjectHideFlags: 0 | ||
1210 | + m_CorrespondingSourceObject: {fileID: 0} | ||
1211 | + m_PrefabInstance: {fileID: 0} | ||
1212 | + m_PrefabAsset: {fileID: 0} | ||
1213 | + m_GameObject: {fileID: 1793793468} | ||
1214 | + m_Enabled: 1 | ||
1215 | + m_EditorHideFlags: 0 | ||
1216 | + m_Script: {fileID: 11500000, guid: 1344c3c82d62a2a41a3576d8abb8e3ea, type: 3} | ||
1217 | + m_Name: | ||
1218 | + m_EditorClassIdentifier: | ||
1219 | + m_Material: {fileID: 0} | ||
1220 | + m_Color: {r: 1, g: 1, b: 1, a: 1} | ||
1221 | + m_RaycastTarget: 1 | ||
1222 | + m_Maskable: 1 | ||
1223 | + m_OnCullStateChanged: | ||
1224 | + m_PersistentCalls: | ||
1225 | + m_Calls: [] | ||
1226 | + m_Texture: {fileID: 2800000, guid: 2b8ee8b73c177704fa4d716172354ee1, type: 3} | ||
1227 | + m_UVRect: | ||
1228 | + serializedVersion: 2 | ||
1229 | + x: 0 | ||
1230 | + y: 0 | ||
1231 | + width: 1 | ||
1232 | + height: 1 | ||
1233 | +--- !u!222 &1793793471 | ||
1234 | +CanvasRenderer: | ||
1235 | + m_ObjectHideFlags: 0 | ||
1236 | + m_CorrespondingSourceObject: {fileID: 0} | ||
1237 | + m_PrefabInstance: {fileID: 0} | ||
1238 | + m_PrefabAsset: {fileID: 0} | ||
1239 | + m_GameObject: {fileID: 1793793468} | ||
1240 | + m_CullTransparentMesh: 0 | ||
1241 | +--- !u!114 &1793793472 | ||
1242 | +MonoBehaviour: | ||
1243 | + m_ObjectHideFlags: 0 | ||
1244 | + m_CorrespondingSourceObject: {fileID: 0} | ||
1245 | + m_PrefabInstance: {fileID: 0} | ||
1246 | + m_PrefabAsset: {fileID: 0} | ||
1247 | + m_GameObject: {fileID: 1793793468} | ||
1248 | + m_Enabled: 1 | ||
1249 | + m_EditorHideFlags: 0 | ||
1250 | + m_Script: {fileID: 11500000, guid: 4381b5042657b804ba0695ce7a8c7128, type: 3} | ||
1251 | + m_Name: | ||
1252 | + m_EditorClassIdentifier: | ||
1253 | + BodySrcManager: {fileID: 183612550} | ||
1254 | + TrackedJoint: 11 | ||
1255 | + multiplier: 200 | ||
1256 | +--- !u!212 &1793793473 | ||
1257 | +SpriteRenderer: | ||
1258 | + m_ObjectHideFlags: 0 | ||
1259 | + m_CorrespondingSourceObject: {fileID: 0} | ||
1260 | + m_PrefabInstance: {fileID: 0} | ||
1261 | + m_PrefabAsset: {fileID: 0} | ||
1262 | + m_GameObject: {fileID: 1793793468} | ||
1263 | + m_Enabled: 1 | ||
1264 | + m_CastShadows: 0 | ||
1265 | + m_ReceiveShadows: 0 | ||
1266 | + m_DynamicOccludee: 1 | ||
1267 | + m_MotionVectors: 1 | ||
1268 | + m_LightProbeUsage: 1 | ||
1269 | + m_ReflectionProbeUsage: 1 | ||
1270 | + m_RayTracingMode: 0 | ||
1271 | + m_RenderingLayerMask: 1 | ||
1272 | + m_RendererPriority: 0 | ||
1273 | + m_Materials: | ||
1274 | + - {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} | ||
1275 | + m_StaticBatchInfo: | ||
1276 | + firstSubMesh: 0 | ||
1277 | + subMeshCount: 0 | ||
1278 | + m_StaticBatchRoot: {fileID: 0} | ||
1279 | + m_ProbeAnchor: {fileID: 0} | ||
1280 | + m_LightProbeVolumeOverride: {fileID: 0} | ||
1281 | + m_ScaleInLightmap: 1 | ||
1282 | + m_ReceiveGI: 1 | ||
1283 | + m_PreserveUVs: 0 | ||
1284 | + m_IgnoreNormalsForChartDetection: 0 | ||
1285 | + m_ImportantGI: 0 | ||
1286 | + m_StitchLightmapSeams: 1 | ||
1287 | + m_SelectedEditorRenderState: 0 | ||
1288 | + m_MinimumChartSize: 4 | ||
1289 | + m_AutoUVMaxDistance: 0.5 | ||
1290 | + m_AutoUVMaxAngle: 89 | ||
1291 | + m_LightmapParameters: {fileID: 0} | ||
1292 | + m_SortingLayerID: 0 | ||
1293 | + m_SortingLayer: 0 | ||
1294 | + m_SortingOrder: 4 | ||
1295 | + m_Sprite: {fileID: 0} | ||
1296 | + m_Color: {r: 1, g: 1, b: 1, a: 1} | ||
1297 | + m_FlipX: 0 | ||
1298 | + m_FlipY: 0 | ||
1299 | + m_DrawMode: 0 | ||
1300 | + m_Size: {x: 1, y: 1} | ||
1301 | + m_AdaptiveModeThreshold: 0.5 | ||
1302 | + m_SpriteTileMode: 0 | ||
1303 | + m_WasSpriteAssigned: 0 | ||
1304 | + m_MaskInteraction: 0 | ||
1305 | + m_SpriteSortPoint: 0 | ||
1065 | --- !u!1 &1813859648 | 1306 | --- !u!1 &1813859648 |
1066 | GameObject: | 1307 | GameObject: |
1067 | m_ObjectHideFlags: 0 | 1308 | m_ObjectHideFlags: 0 | ... | ... |
... | @@ -10,7 +10,7 @@ public class ClickExercise : MonoBehaviour | ... | @@ -10,7 +10,7 @@ public class ClickExercise : MonoBehaviour |
10 | RawImage btnImage2; | 10 | RawImage btnImage2; |
11 | GameObject btnParent; //버튼들의 부모 | 11 | GameObject btnParent; //버튼들의 부모 |
12 | 12 | ||
13 | - GameObject quad; //커서 | 13 | + GameObject follow; //커서 |
14 | Vector3 pos; | 14 | Vector3 pos; |
15 | private float timer; | 15 | private float timer; |
16 | 16 | ||
... | @@ -18,8 +18,8 @@ public class ClickExercise : MonoBehaviour | ... | @@ -18,8 +18,8 @@ public class ClickExercise : MonoBehaviour |
18 | { | 18 | { |
19 | btnParent = GameObject.Find("BtnGroup").gameObject; // "부모의 이름"으로 찾습니다. | 19 | btnParent = GameObject.Find("BtnGroup").gameObject; // "부모의 이름"으로 찾습니다. |
20 | 20 | ||
21 | - quad = GameObject.Find("Quad_s").gameObject; | 21 | + follow = GameObject.Find("follow").gameObject; |
22 | - pos = quad.transform.position; | 22 | + pos = follow.transform.position; |
23 | Debug.Log(pos); | 23 | Debug.Log(pos); |
24 | } | 24 | } |
25 | 25 | ||
... | @@ -72,7 +72,7 @@ public class ClickExercise : MonoBehaviour | ... | @@ -72,7 +72,7 @@ public class ClickExercise : MonoBehaviour |
72 | void Update() | 72 | void Update() |
73 | { | 73 | { |
74 | 74 | ||
75 | - pos = quad.transform.position; | 75 | + pos = follow.transform.position; |
76 | Debug.Log(pos); | 76 | Debug.Log(pos); |
77 | 77 | ||
78 | /* | 78 | /* | ... | ... |
-
Please register or login to post a comment