Showing
8 changed files
with
86 additions
and
3 deletions
... | @@ -192,6 +192,84 @@ CanvasRenderer: | ... | @@ -192,6 +192,84 @@ CanvasRenderer: |
192 | m_PrefabAsset: {fileID: 0} | 192 | m_PrefabAsset: {fileID: 0} |
193 | m_GameObject: {fileID: 5836629} | 193 | m_GameObject: {fileID: 5836629} |
194 | m_CullTransparentMesh: 0 | 194 | m_CullTransparentMesh: 0 |
195 | +--- !u!1 &22123169 | ||
196 | +GameObject: | ||
197 | + m_ObjectHideFlags: 0 | ||
198 | + m_CorrespondingSourceObject: {fileID: 0} | ||
199 | + m_PrefabInstance: {fileID: 0} | ||
200 | + m_PrefabAsset: {fileID: 0} | ||
201 | + serializedVersion: 6 | ||
202 | + m_Component: | ||
203 | + - component: {fileID: 22123170} | ||
204 | + - component: {fileID: 22123172} | ||
205 | + - component: {fileID: 22123171} | ||
206 | + m_Layer: 5 | ||
207 | + m_Name: Trainee_count | ||
208 | + m_TagString: Untagged | ||
209 | + m_Icon: {fileID: 0} | ||
210 | + m_NavMeshLayer: 0 | ||
211 | + m_StaticEditorFlags: 0 | ||
212 | + m_IsActive: 1 | ||
213 | +--- !u!224 &22123170 | ||
214 | +RectTransform: | ||
215 | + m_ObjectHideFlags: 0 | ||
216 | + m_CorrespondingSourceObject: {fileID: 0} | ||
217 | + m_PrefabInstance: {fileID: 0} | ||
218 | + m_PrefabAsset: {fileID: 0} | ||
219 | + m_GameObject: {fileID: 22123169} | ||
220 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
221 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
222 | + m_LocalScale: {x: 2, y: 2, z: 2} | ||
223 | + m_Children: [] | ||
224 | + m_Father: {fileID: 1679758666} | ||
225 | + m_RootOrder: 29 | ||
226 | + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} | ||
227 | + m_AnchorMin: {x: 0.5, y: 0.5} | ||
228 | + m_AnchorMax: {x: 0.5, y: 0.5} | ||
229 | + m_AnchoredPosition: {x: 400, y: 110} | ||
230 | + m_SizeDelta: {x: 160, y: 30} | ||
231 | + m_Pivot: {x: 0.5, y: 0.5} | ||
232 | +--- !u!114 &22123171 | ||
233 | +MonoBehaviour: | ||
234 | + m_ObjectHideFlags: 0 | ||
235 | + m_CorrespondingSourceObject: {fileID: 0} | ||
236 | + m_PrefabInstance: {fileID: 0} | ||
237 | + m_PrefabAsset: {fileID: 0} | ||
238 | + m_GameObject: {fileID: 22123169} | ||
239 | + m_Enabled: 1 | ||
240 | + m_EditorHideFlags: 0 | ||
241 | + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} | ||
242 | + m_Name: | ||
243 | + m_EditorClassIdentifier: | ||
244 | + m_Material: {fileID: 0} | ||
245 | + m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} | ||
246 | + m_RaycastTarget: 1 | ||
247 | + m_Maskable: 1 | ||
248 | + m_OnCullStateChanged: | ||
249 | + m_PersistentCalls: | ||
250 | + m_Calls: [] | ||
251 | + m_FontData: | ||
252 | + m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} | ||
253 | + m_FontSize: 25 | ||
254 | + m_FontStyle: 0 | ||
255 | + m_BestFit: 0 | ||
256 | + m_MinSize: 0 | ||
257 | + m_MaxSize: 40 | ||
258 | + m_Alignment: 0 | ||
259 | + m_AlignByGeometry: 0 | ||
260 | + m_RichText: 1 | ||
261 | + m_HorizontalOverflow: 0 | ||
262 | + m_VerticalOverflow: 0 | ||
263 | + m_LineSpacing: 1 | ||
264 | + m_Text: 0/20 | ||
265 | +--- !u!222 &22123172 | ||
266 | +CanvasRenderer: | ||
267 | + m_ObjectHideFlags: 0 | ||
268 | + m_CorrespondingSourceObject: {fileID: 0} | ||
269 | + m_PrefabInstance: {fileID: 0} | ||
270 | + m_PrefabAsset: {fileID: 0} | ||
271 | + m_GameObject: {fileID: 22123169} | ||
272 | + m_CullTransparentMesh: 0 | ||
195 | --- !u!1 &64300834 | 273 | --- !u!1 &64300834 |
196 | GameObject: | 274 | GameObject: |
197 | m_ObjectHideFlags: 0 | 275 | m_ObjectHideFlags: 0 |
... | @@ -838,7 +916,7 @@ GameObject: | ... | @@ -838,7 +916,7 @@ GameObject: |
838 | - component: {fileID: 433964840} | 916 | - component: {fileID: 433964840} |
839 | - component: {fileID: 433964839} | 917 | - component: {fileID: 433964839} |
840 | m_Layer: 5 | 918 | m_Layer: 5 |
841 | - m_Name: Traineer_count | 919 | + m_Name: Trainner_count |
842 | m_TagString: Untagged | 920 | m_TagString: Untagged |
843 | m_Icon: {fileID: 0} | 921 | m_Icon: {fileID: 0} |
844 | m_NavMeshLayer: 0 | 922 | m_NavMeshLayer: 0 |
... | @@ -1963,6 +2041,11 @@ MonoBehaviour: | ... | @@ -1963,6 +2041,11 @@ MonoBehaviour: |
1963 | trainer_state: | 2041 | trainer_state: |
1964 | speed: 0 | 2042 | speed: 0 |
1965 | trainer_count: 0 | 2043 | trainer_count: 0 |
2044 | + trainer_check: 1 | ||
2045 | + trainer_check_outside: 1 | ||
2046 | + trainer_timer: 0 | ||
2047 | + trainer_other_side: 0 | ||
2048 | + trainer_speed: 5 | ||
1966 | AngleLeftKnee: {fileID: 1313906998} | 2049 | AngleLeftKnee: {fileID: 1313906998} |
1967 | AngleRightKnee: {fileID: 1543390839} | 2050 | AngleRightKnee: {fileID: 1543390839} |
1968 | KneeToeLeft: {fileID: 2059169298} | 2051 | KneeToeLeft: {fileID: 2059169298} |
... | @@ -2653,6 +2736,7 @@ RectTransform: | ... | @@ -2653,6 +2736,7 @@ RectTransform: |
2653 | - {fileID: 1616699127} | 2736 | - {fileID: 1616699127} |
2654 | - {fileID: 1914474767} | 2737 | - {fileID: 1914474767} |
2655 | - {fileID: 1540314534} | 2738 | - {fileID: 1540314534} |
2739 | + - {fileID: 22123170} | ||
2656 | m_Father: {fileID: 0} | 2740 | m_Father: {fileID: 0} |
2657 | m_RootOrder: 4 | 2741 | m_RootOrder: 4 |
2658 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} | 2742 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} | ... | ... |
... | @@ -334,8 +334,7 @@ class CharacterSkeleton | ... | @@ -334,8 +334,7 @@ class CharacterSkeleton |
334 | if (move == true) | 334 | if (move == true) |
335 | { | 335 | { |
336 | Vector3 m = joint[JointType_SpineBase]; | 336 | Vector3 m = joint[JointType_SpineBase]; |
337 | - Debug.Log("m : "+m); | 337 | + if (mirrored) m = new Vector3((float)-0.9,m.y, (float)0.4); |
338 | - if (mirrored) m = new Vector3((float)-0.9,(float)(m.y + 0.3), (float)0.4); | ||
339 | humanoid.transform.position = m; | 338 | humanoid.transform.position = m; |
340 | } | 339 | } |
341 | } | 340 | } | ... | ... |
-
Please register or login to post a comment