浏览代码

Interaction go on the pig is now a prefab

/main
Amel 4 年前
当前提交
9918fbce
共有 5 个文件被更改,包括 192 次插入78 次删除
  1. 173
      UOP1_Project/Assets/Prefabs/Characters/PigChef.prefab
  2. 8
      UOP1_Project/Assets/Prefabs/Characters/Pig.meta
  3. 82
      UOP1_Project/Assets/Prefabs/Characters/Pig/Interaction.prefab
  4. 7
      UOP1_Project/Assets/Prefabs/Characters/Pig/Interaction.prefab.meta

173
UOP1_Project/Assets/Prefabs/Characters/PigChef.prefab


m_Father: {fileID: 1258782301305894884}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: -183.10399, z: 0}
--- !u!1 &2248731488678348755
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 6649678422514028085}
- component: {fileID: 5021713601820606395}
- component: {fileID: 4712659148336435792}
- component: {fileID: 6918309245020967560}
m_Layer: 9
m_Name: Interaction
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &6649678422514028085
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2248731488678348755}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0.637, z: 0.777}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 1083073290189785667}
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!65 &5021713601820606395
BoxCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2248731488678348755}
m_Material: {fileID: 0}
m_IsTrigger: 1
m_Enabled: 1
serializedVersion: 2
m_Size: {x: 0.3, y: 0.3, z: 1}
m_Center: {x: 0, y: 0.3, z: 0}
--- !u!114 &4712659148336435792
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2248731488678348755}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: a40d14d4203a8e14e9cc748b46975252, type: 3}
m_Name:
m_EditorClassIdentifier:
inputReader: {fileID: 11400000, guid: 945ec0365077176418488737deed54be, type: 2}
_OnObjectPickUp: {fileID: 11400000, guid: f3027c4528b8e794f940a4696506f0c3, type: 2}
_OnCookingStart: {fileID: 11400000, guid: 146c579dca5c2f248a607ef66a36d765, type: 2}
_StartTalking: {fileID: 11400000, guid: d8d3ba93cf20837469afd166e511c258, type: 2}
--- !u!54 &6918309245020967560
Rigidbody:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2248731488678348755}
serializedVersion: 2
m_Mass: 1
m_Drag: 0
m_AngularDrag: 0.05
m_UseGravity: 1
m_IsKinematic: 1
m_Interpolate: 0
m_Constraints: 0
m_CollisionDetection: 0
--- !u!1 &8577975502853322496
GameObject:
m_ObjectHideFlags: 0

objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 6be2ee433475f3a4096eaf60a7f40137, type: 3}
--- !u!1001 &8177583275354962040
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 1083073290189785667}
m_Modifications:
- target: {fileID: 3257505381734315597, guid: f8b7770f18df7614e90765b366548764,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3257505381734315597, guid: f8b7770f18df7614e90765b366548764,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3257505381734315597, guid: f8b7770f18df7614e90765b366548764,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3257505381734315597, guid: f8b7770f18df7614e90765b366548764,
type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3257505381734315597, guid: f8b7770f18df7614e90765b366548764,
type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3257505381734315597, guid: f8b7770f18df7614e90765b366548764,
type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3257505381734315597, guid: f8b7770f18df7614e90765b366548764,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 3257505381734315597, guid: f8b7770f18df7614e90765b366548764,
type: 3}
propertyPath: m_RootOrder
value: 3
objectReference: {fileID: 0}
- target: {fileID: 3257505381734315597, guid: f8b7770f18df7614e90765b366548764,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3257505381734315597, guid: f8b7770f18df7614e90765b366548764,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3257505381734315597, guid: f8b7770f18df7614e90765b366548764,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3466124848074566184, guid: f8b7770f18df7614e90765b366548764,
type: 3}
propertyPath: _onObjectPickUp
value:
objectReference: {fileID: 11400000, guid: f3027c4528b8e794f940a4696506f0c3,
type: 2}
- target: {fileID: 3804461155661285315, guid: f8b7770f18df7614e90765b366548764,
type: 3}
propertyPath: m_Size.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 3804461155661285315, guid: f8b7770f18df7614e90765b366548764,
type: 3}
propertyPath: m_Center.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 3804461155661285315, guid: f8b7770f18df7614e90765b366548764,
type: 3}
propertyPath: m_Center.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3804461155661285315, guid: f8b7770f18df7614e90765b366548764,
type: 3}
propertyPath: m_Center.z
value: 0.8
objectReference: {fileID: 0}
- target: {fileID: 7947030310713933739, guid: f8b7770f18df7614e90765b366548764,
type: 3}
propertyPath: m_Name
value: Interaction
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: f8b7770f18df7614e90765b366548764, type: 3}
--- !u!1001 &8181670996397994228
PrefabInstance:
m_ObjectHideFlags: 0

8
UOP1_Project/Assets/Prefabs/Characters/Pig.meta


fileFormatVersion: 2
guid: 58698d3586b800744aa03cccf6d9caed
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

82
UOP1_Project/Assets/Prefabs/Characters/Pig/Interaction.prefab


%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &7947030310713933739
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 3257505381734315597}
- component: {fileID: 3804461155661285315}
- component: {fileID: 3466124848074566184}
- component: {fileID: 1260543021480651504}
m_Layer: 9
m_Name: Interaction
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &3257505381734315597
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7947030310713933739}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0.637, z: 0.777}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!65 &3804461155661285315
BoxCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7947030310713933739}
m_Material: {fileID: 0}
m_IsTrigger: 1
m_Enabled: 1
serializedVersion: 2
m_Size: {x: 0.3, y: 0.3, z: 1}
m_Center: {x: 0, y: 0.3, z: 0}
--- !u!114 &3466124848074566184
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7947030310713933739}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: a40d14d4203a8e14e9cc748b46975252, type: 3}
m_Name:
m_EditorClassIdentifier:
_inputReader: {fileID: 11400000, guid: 945ec0365077176418488737deed54be, type: 2}
_onObjectPickUp: {fileID: 0}
_onCookingStart: {fileID: 0}
_startTalking: {fileID: 0}
_toggleInteractionUI: {fileID: 0}
_onInteractionEnded: {fileID: 0}
--- !u!54 &1260543021480651504
Rigidbody:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7947030310713933739}
serializedVersion: 2
m_Mass: 1
m_Drag: 0
m_AngularDrag: 0.05
m_UseGravity: 1
m_IsKinematic: 1
m_Interpolate: 0
m_Constraints: 0
m_CollisionDetection: 0

7
UOP1_Project/Assets/Prefabs/Characters/Pig/Interaction.prefab.meta


fileFormatVersion: 2
guid: f8b7770f18df7614e90765b366548764
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
正在加载...
取消
保存