rabidus-test/Assets/Prefabs/SnapZone.prefab

287 lines
7.8 KiB
Plaintext
Raw Normal View History

2023-09-11 15:44:17 +03:00
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &1627025775
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1627025776}
- component: {fileID: 1627025779}
- component: {fileID: 1627025778}
m_Layer: 2
m_Name: Cylinder
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
2023-09-11 15:44:17 +03:00
--- !u!4 &1627025776
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1627025775}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: -0.0311, z: 0}
m_LocalScale: {x: 0.21959159, y: 0.009864524, z: 0.2195916}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 8309988874543653824}
2023-10-02 19:12:35 +03:00
m_RootOrder: 0
2023-09-11 15:44:17 +03:00
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &1627025779
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1627025775}
m_Mesh: {fileID: 10206, guid: 0000000000000000e000000000000000, type: 0}
--- !u!23 &1627025778
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1627025775}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_StaticShadowCaster: 0
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
2023-09-13 13:24:05 +03:00
- {fileID: 2100000, guid: 6c26df6756c9ce04f8d5fa9cc1dae1f2, type: 2}
2023-09-11 15:44:17 +03:00
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0}
--- !u!1 &8309988874543653839
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 8309988874543653824}
- component: {fileID: 8309988874543653829}
- component: {fileID: 8309988874543653825}
- component: {fileID: 8309988874543653828}
- component: {fileID: 8309988874543653827}
- component: {fileID: 8309988874543653826}
m_Layer: 2
m_Name: SnapZone
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &8309988874543653824
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8309988874543653839}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0.784, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 1627025776}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!135 &8309988874543653829
SphereCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8309988874543653839}
m_Material: {fileID: 0}
m_IsTrigger: 1
m_Enabled: 1
serializedVersion: 2
2023-09-18 20:09:22 +03:00
m_Radius: 0.1
m_Center: {x: 0, y: 0.06, z: 0}
2023-09-11 15:44:17 +03:00
--- !u!114 &8309988874543653825
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8309988874543653839}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 55b646e2949ffb74c9ca8c512b4411df, type: 3}
m_Name:
m_EditorClassIdentifier:
HeldItem: {fileID: 0}
StartingItem: {fileID: 0}
2023-09-18 20:09:22 +03:00
AutoGrab: 0
2023-09-11 15:44:17 +03:00
CanDropItem: 1
CanSwapItem: 1
CanRemoveItem: 1
ScaleItem: 1
2023-10-02 19:12:35 +03:00
DisableColliders: 0
2023-09-11 15:44:17 +03:00
DuplicateItemOnGrab: 0
MaxDropTime: 0.1
LastSnapTime: 0
OnlyAllowNames: []
ExcludeTransformNames: []
2023-10-09 15:40:39 +03:00
SoundOnSnap: {fileID: 8300000, guid: d3e354d88258e99439cf70231e60ab91, type: 3}
SoundOnUnsnap: {fileID: 8300000, guid: 5d0d485c7f874b14d95be3db7fd4cbe6, type: 3}
2023-09-11 15:44:17 +03:00
OnSnapEvent:
m_PersistentCalls:
m_Calls: []
OnDetachEvent:
m_PersistentCalls:
m_Calls: []
ClosestGrabbable: {fileID: 0}
--- !u!114 &8309988874543653828
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8309988874543653839}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 2d4b3aeee51a5bd48bf569efd03b09ac, type: 3}
m_Name:
m_EditorClassIdentifier:
ClosestGrabbable: {fileID: 0}
ClosestRemoteGrabbable: {fileID: 0}
FireGrabbableEvents: 0
--- !u!114 &8309988874543653827
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8309988874543653839}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 5cdea428d48e2bb488d33d5f75c39bb9, type: 3}
m_Name:
m_EditorClassIdentifier:
BeingHeld: 0
GrabButton: 2
Grabtype: 0
GrabPhysics: 2
GrabMechanic: 1
GrabSpeed: 7.5
2023-09-18 20:09:22 +03:00
RemoteGrabbable: 0
2023-09-11 15:44:17 +03:00
RemoteGrabMechanic: 0
RemoteGrabDistance: 2
ThrowForceMultiplier: 2
ThrowForceMultiplierAngular: 1.5
BreakDistance: 1
HideHandGraphics: 0
ParentToHands: 0
ParentHandModel: 0
SnapHandModel: 1
CanBeDropped: 1
CanBeSnappedToSnapZone: 1
ForceDisableKinematicOnDrop: 0
InstantMovement: 0
MakeChildCollidersGrabbable: 0
handPoseType: 1
SelectedHandPose: {fileID: 0}
CustomHandPose: 0
SecondaryGrabBehavior: 0
TwoHandedPosition: 0
TwoHandedPostionLerpAmount: 0.5
TwoHandedRotation: 1
TwoHandedRotationLerpAmount: 0.5
TwoHandedDropBehavior: 0
TwoHandedLookVector: 0
SecondHandLookSpeed: 40
SecondaryGrabbable: {fileID: 0}
OtherGrabbableMustBeGrabbed: {fileID: 0}
CollisionSpring: 3000
CollisionSlerp: 500
CollisionLinearMotionX: 2
CollisionLinearMotionY: 2
CollisionLinearMotionZ: 2
CollisionAngularMotionX: 2
CollisionAngularMotionY: 2
CollisionAngularMotionZ: 2
ApplyCorrectiveForce: 1
MoveVelocityForce: 3000
MoveAngularVelocityForce: 90
LastGrabTime: 0
LastDropTime: 0
AddControllerVelocityOnDrop: 1
collisions: []
ActiveGrabPoint: {fileID: 0}
SecondaryLookOffset: {x: 0, y: 0, z: 0}
SecondaryLookAtTransform: {fileID: 0}
LocalOffsetTransform: {fileID: 0}
GrabPoints: []
UseCustomInspector: 1
lastFlickTime: 0
FlickForce: 1
OnUniqueGrabbed:
m_PersistentCalls:
m_Calls: []
OnReleased:
m_PersistentCalls:
m_Calls: []
--- !u!114 &8309988874543653826
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8309988874543653839}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 5d5be54ff720e43488e1738e2db6b6fc, type: 3}
m_Name:
m_EditorClassIdentifier:
OnGrabEvent:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 8309988874543653825}
m_TargetAssemblyTypeName:
m_MethodName: GrabEquipped
m_Mode: 0
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2