提交内容修改,提交场景模型修改,相机参数设置,xm表内容填充
This commit is contained in:
parent
43896403b7
commit
4c3a422f61
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -29,6 +29,7 @@ RectTransform:
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children:
|
||||
- {fileID: 3032134289409607446}
|
||||
- {fileID: 7069376765433692083}
|
||||
- {fileID: 8853058799213559304}
|
||||
m_Father: {fileID: 0}
|
||||
@ -85,6 +86,7 @@ RectTransform:
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children:
|
||||
- {fileID: 2637009452797290299}
|
||||
- {fileID: 4010973968220270725}
|
||||
m_Father: {fileID: 8853058799213559304}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 1}
|
||||
@ -190,6 +192,81 @@ MonoBehaviour:
|
||||
CustomComponentName: Prefab
|
||||
CustomComment:
|
||||
mComponentName: UnityEngine.UI.Button
|
||||
--- !u!1 &4924616116190537188
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 3032134289409607446}
|
||||
- component: {fileID: 5018475925054350422}
|
||||
- component: {fileID: 4817241695760669366}
|
||||
m_Layer: 0
|
||||
m_Name: Image
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &3032134289409607446
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4924616116190537188}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 3757608316288059836}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 1, y: 1}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 0, y: 0}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &5018475925054350422
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4924616116190537188}
|
||||
m_CullTransparentMesh: 1
|
||||
--- !u!114 &4817241695760669366
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4924616116190537188}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Material: {fileID: 0}
|
||||
m_Color: {r: 0.4037736, g: 0.4037736, b: 0.4037736, a: 1}
|
||||
m_RaycastTarget: 1
|
||||
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||
m_Maskable: 1
|
||||
m_OnCullStateChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_Sprite: {fileID: 0}
|
||||
m_Type: 1
|
||||
m_PreserveAspect: 0
|
||||
m_FillCenter: 1
|
||||
m_FillMethod: 4
|
||||
m_FillAmount: 1
|
||||
m_FillClockwise: 1
|
||||
m_FillOrigin: 0
|
||||
m_UseSpriteMesh: 0
|
||||
m_PixelsPerUnitMultiplier: 1
|
||||
--- !u!1 &4996385403881088040
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -267,6 +344,81 @@ MonoBehaviour:
|
||||
CustomComponentName: Content
|
||||
CustomComment:
|
||||
mComponentName: RectTransform
|
||||
--- !u!1 &5280480044081333076
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 4010973968220270725}
|
||||
- component: {fileID: 4187884251237856765}
|
||||
- component: {fileID: 4220012795181235976}
|
||||
m_Layer: 0
|
||||
m_Name: Image (1)
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &4010973968220270725
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 5280480044081333076}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 3590387809349625501}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 1, y: 1}
|
||||
m_AnchoredPosition: {x: 0, y: 27.2435}
|
||||
m_SizeDelta: {x: 0, y: -54.487}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &4187884251237856765
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 5280480044081333076}
|
||||
m_CullTransparentMesh: 1
|
||||
--- !u!114 &4220012795181235976
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 5280480044081333076}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Material: {fileID: 0}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_RaycastTarget: 1
|
||||
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||
m_Maskable: 1
|
||||
m_OnCullStateChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_Sprite: {fileID: 0}
|
||||
m_Type: 0
|
||||
m_PreserveAspect: 0
|
||||
m_FillCenter: 1
|
||||
m_FillMethod: 4
|
||||
m_FillAmount: 1
|
||||
m_FillClockwise: 1
|
||||
m_FillOrigin: 0
|
||||
m_UseSpriteMesh: 0
|
||||
m_PixelsPerUnitMultiplier: 1
|
||||
--- !u!1 &5722327916698878822
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -337,8 +489,8 @@ RectTransform:
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 1, y: 1}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: -30, y: -30}
|
||||
m_AnchoredPosition: {x: 0, y: -71.077515}
|
||||
m_SizeDelta: {x: -30, y: -172.1551}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &1822324956339504325
|
||||
CanvasRenderer:
|
||||
@ -368,7 +520,7 @@ MonoBehaviour:
|
||||
m_OnCullStateChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_text:
|
||||
m_text: 11
|
||||
m_isRightToLeft: 0
|
||||
m_fontAsset: {fileID: 11400000, guid: 9bbfb1bdb0251664eb0932e39724900e, type: 2}
|
||||
m_sharedMaterial: {fileID: 5103963756306747964, guid: 9bbfb1bdb0251664eb0932e39724900e, type: 2}
|
||||
|
||||
@ -1081,13 +1081,13 @@ MonoBehaviour:
|
||||
m_Script: {fileID: 11500000, guid: 35f672d48a4ed2349bb724d185d6a153, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
targetPos: {x: 0, y: 0, z: 0}
|
||||
targetPos: {x: 1.4199994, y: 0.035000008, z: 0}
|
||||
rotateSpeed: 10
|
||||
moveSpeed: 0.1
|
||||
distance: 0.5
|
||||
distanceMin: 0.2
|
||||
distanceMax: 20
|
||||
pitchMinMax: {x: -20, y: 80}
|
||||
distance: 2
|
||||
distanceMin: 1
|
||||
distanceMax: 15
|
||||
pitchMinMax: {x: -80, y: 80}
|
||||
texture: {fileID: 8400000, guid: 187fba8368491cb428c8cbd324fa9bb4, type: 2}
|
||||
lockMove: 0
|
||||
--- !u!222 &102363872365703344
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -5,12 +5,12 @@ using UnityEngine.EventSystems;
|
||||
public class Show3DCamera : MonoBehaviour
|
||||
{
|
||||
public Vector3 targetPos; // 围绕旋转的目标点
|
||||
public float rotateSpeed = 10f; // 旋转速度
|
||||
public float moveSpeed = 10f; // 移动速度
|
||||
public float distance = 10f; // 相机与目标的距离
|
||||
public float distanceMin = 0.2f;
|
||||
public float distanceMax = 20f;
|
||||
public Vector2 pitchMinMax = new Vector2(-20, 80); // 相机俯仰角范围
|
||||
public float rotateSpeed ; // 旋转速度
|
||||
public float moveSpeed; // 移动速度
|
||||
public float distance; // 相机与目标的距离
|
||||
public float distanceMin ;
|
||||
public float distanceMax ;
|
||||
public Vector2 pitchMinMax/* = new Vector2(-20, 80)*/; // 相机俯仰角范围
|
||||
|
||||
private Vector3 offset; // 相机与目标的偏移量
|
||||
private float yaw = 0f; // 偏航角(左右旋转)
|
||||
|
||||
@ -144,6 +144,9 @@ namespace QFramework.Example
|
||||
HideSelf(true);
|
||||
|
||||
});
|
||||
|
||||
TypeEventSystem.Global.Register<OnModuleQuit>((arg) => Hide()).UnRegisterWhenGameObjectDestroyed(gameObject);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -12,7 +12,11 @@
|
||||
|
||||
<Action type="UIShow" value="UI3DObjSelect"></Action>
|
||||
|
||||
</Action>
|
||||
<!--<Action type="Show" value="Ren" isShow="false"></Action>-->
|
||||
|
||||
<Action type="Log" value="初始状态"></Action>
|
||||
|
||||
</Action>
|
||||
</Enter>
|
||||
</State>
|
||||
<!--<Transision from="初始状态" to="状态2">
|
||||
@ -23,14 +27,14 @@
|
||||
|
||||
|
||||
<Body3D>
|
||||
<Body name="头颈" icon="" path="Ren/Tou" >
|
||||
<Body name="骨骼系统" path="Ren/Tou/GuGe" isShow="false">
|
||||
<Body name="肋骨" path="Ren/Tou/GuGe/LeiGu">
|
||||
<Body name="左肋" path="Ren/Tou/GuGe/LeiGu/ZuoLei">
|
||||
<Body name="左一" path="Ren/Tou/GuGe/LeiGu/ZuoLei/1" tip="左一肋骨描述">
|
||||
<!--<Body name="头颈" icon="" path="Ren_NEW/SM_GuGe/skull" >
|
||||
<Body name="骨骼系统" path="Ren_NEW/SM_GuGe" >
|
||||
<Body name="左肋骨" path="Ren_NEW/SM_GuGe/upper_limb_bone">
|
||||
<Body name="左肋" path="Ren_NEW/SM_GuGe/upper_limb_bone/Left_upper_limb_bones">
|
||||
<Body name="左一" path="Ren_NEW/SM_GuGe/upper_limb_bone/Left_upper_limb_bones/Left_free_upper_limb_bones" tip="左一肋骨描述">
|
||||
<ObjectToggle>
|
||||
<Color isOn="0,255,255" isOff="255,255,255"></Color>
|
||||
</ObjectToggle>
|
||||
</ObjectToggle>
|
||||
</Body>
|
||||
<Body name="左二" path="Ren/Tou/GuGe/LeiGu/ZuoLei/2" tip="左二肋骨描述">
|
||||
<ObjectToggle>
|
||||
@ -38,6 +42,9 @@
|
||||
</ObjectToggle>
|
||||
</Body>
|
||||
</Body>
|
||||
|
||||
|
||||
|
||||
<Body name="右肋" path="Ren/Tou/GuGe/LeiGu/YouLei">
|
||||
<Body name="右一" path="Ren/Tou/GuGe/LeiGu/YouLei/1" tip="7右一肋骨描述">
|
||||
<ObjectToggle>
|
||||
@ -70,18 +77,18 @@
|
||||
<Color></Color>
|
||||
</ObjectToggle>
|
||||
</Body>
|
||||
<Body name="222" path="Ren/Tou/JiRou/2">
|
||||
<Body name="动脉" path="Ren_NEW/SM_DongMai">
|
||||
<ObjectToggle>
|
||||
<Color></Color>
|
||||
</ObjectToggle>
|
||||
</Body>
|
||||
<Body name="333" path="Ren/Tou/JiRou/3">
|
||||
<Body name="静脉" path="Ren/Tou/JiRou/3">
|
||||
<ObjectToggle>
|
||||
<Color></Color>
|
||||
</ObjectToggle>
|
||||
</Body>
|
||||
</Body>
|
||||
<!--<Body name="神经" isBodyList="true">
|
||||
--><!--<Body name="神经" isBodyList="true">
|
||||
<Body name="aaa" path="Ren/Tou/ShenJing/1">
|
||||
<ObjectToggle>
|
||||
<Color></Color>
|
||||
@ -97,17 +104,53 @@
|
||||
<Color></Color>
|
||||
</ObjectToggle>
|
||||
</Body>
|
||||
</Body>-->
|
||||
</Body>
|
||||
<Body name="肩膀" icon="" path="Ren/JianBang" >
|
||||
<Body name="肩膀系统1" path="Ren/JianBang/Cube">
|
||||
<Body name="肋骨" path="Ren/JianBang/Cube/Cube (1)">
|
||||
<Body name="左肋" path="Ren/JianBang/Cube/Cube (1)/Cube (2)">
|
||||
<Body name="左一" path="Ren/JianBang/Cube/Cube (1)/Cube (2)/Cube (3)"></Body>
|
||||
<Body name="左二" path="Ren/JianBang/Cube/Cube (1)/Cube (2)/Sphere"></Body>
|
||||
</Body>
|
||||
</Body>
|
||||
</Body>
|
||||
</Body>
|
||||
</Body3D>
|
||||
</Body>--><!--
|
||||
</Body>-->
|
||||
|
||||
<Body name="头部" icon="" path="Ren_NEW" isBodyList="true" >
|
||||
|
||||
|
||||
|
||||
<Body name="骨骼" icon="" path="Ren_NEW/SM_GuGe" >
|
||||
<ObjectToggle>
|
||||
<Color></Color>
|
||||
</ObjectToggle>
|
||||
</Body>
|
||||
<Body name="皮肤" icon="" path="Ren_NEW/SM_PiFu" >
|
||||
<ObjectToggle>
|
||||
<Color></Color>
|
||||
</ObjectToggle>
|
||||
</Body>
|
||||
<Body name="动脉" icon="" path="Ren_NEW/SM_DongMai" >
|
||||
</Body>
|
||||
<Body name="静脉" icon="" path="Ren_NEW/SM_JingMai" >
|
||||
</Body>
|
||||
<Body name="骨连接" icon="" path="Ren_NEW/SM_GuLianJie" >
|
||||
</Body>
|
||||
<Body name="肌肉" icon="" path="Ren_NEW/SM_JiRou" >
|
||||
</Body>
|
||||
<Body name="淋巴" icon="" path="Ren_NEW/SM_LinBa" >
|
||||
</Body>
|
||||
|
||||
<Body name="气管" icon="" path="Ren_NEW/SM_QiGuan" >
|
||||
</Body>
|
||||
|
||||
<Body name="神经" icon="" path="Ren_NEW/SM_ShenJing" >
|
||||
</Body>
|
||||
<Body name="中枢" icon="" path="Ren_NEW/SM_ZhongShu" >
|
||||
</Body>
|
||||
|
||||
|
||||
|
||||
|
||||
</Body>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</Body3D>
|
||||
</Module>
|
||||
Loading…
x
Reference in New Issue
Block a user