rabidus-test/Assets/BNG Framework/Prefabs/SnapPoint.prefab

306 lines
8.5 KiB
Plaintext
Raw Normal View History

2023-07-24 16:38:13 +03:00
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &292154147353046210
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 292154147353046212}
- component: {fileID: 292154147353046213}
- component: {fileID: 292154147353046214}
- component: {fileID: 292154147353046215}
- component: {fileID: 292154147353046208}
- component: {fileID: 292154147353046209}
m_Layer: 2
m_Name: SnapPoint
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &292154147353046212
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 292154147353046210}
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_Children:
- {fileID: 292154147459820178}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!135 &292154147353046213
SphereCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 292154147353046210}
m_Material: {fileID: 0}
m_IsTrigger: 1
m_Enabled: 1
serializedVersion: 2
m_Radius: 0.04
m_Center: {x: 0, y: 0, z: 0}
--- !u!114 &292154147353046214
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 292154147353046210}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 55b646e2949ffb74c9ca8c512b4411df, type: 3}
m_Name:
m_EditorClassIdentifier:
CanDropItem: 1
CanSwapItem: 1
ScaleItem: 1
DisableColliders: 1
MaxDropTime: 0.1
OnlyAllowNames: []
ExcludeTransformNames: []
SoundOnSnap: {fileID: 0}
SoundOnUnsnap: {fileID: 0}
OnSnapEvent:
m_PersistentCalls:
m_Calls: []
OnDetachEvent:
m_PersistentCalls:
m_Calls: []
HeldItem: {fileID: 0}
ClosestGrabbable: {fileID: 0}
--- !u!114 &292154147353046215
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 292154147353046210}
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 &292154147353046208
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 292154147353046210}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 5cdea428d48e2bb488d33d5f75c39bb9, type: 3}
m_Name:
m_EditorClassIdentifier:
BeingHeld: 0
GrabButton: 0
Grabtype: 0
GrabPhysics: 2
GrabMechanic: 1
GrabSpeed: 7.5
RemoteGrabbable: 0
RemoteGrabDistance: 2
ThrowForceMultiplier: 2
ThrowForceMultiplierAngular: 1.5
BreakDistance: 1
HideHandGraphics: 0
ParentToHands: 0
ParentHandModel: 0
CustomHandPose: 0
SecondaryGrabBehavior: 0
OtherGrabbableMustBeGrabbed: {fileID: 0}
CollisionSpring: 3000
CollisionSlerp: 500
CanBeDropped: 1
CanBeSnappedToSnapZone: 1
LastGrabTime: 0
LastDropTime: 0
AddControllerVelocityOnDrop: 1
SecondaryGrabbable: {fileID: 0}
SecondHandLookSpeed: 40
SecondaryLookOffset: {x: 0, y: 0, z: 0}
SecondaryLookAtTransform: {fileID: 0}
LocalOffsetTransform: {fileID: 0}
MirrorOffsetForOtherHand: 1
GrabPoints: []
--- !u!114 &292154147353046209
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 292154147353046210}
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: 292154147353046214}
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
--- !u!1 &292154147459820179
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 292154147459820178}
- component: {fileID: 292154147459820181}
- component: {fileID: 292154147459820182}
- component: {fileID: 292154147459820176}
- component: {fileID: 9214684175537064418}
- component: {fileID: 8925710894144457042}
m_Layer: 2
m_Name: Ring
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &292154147459820178
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 292154147459820179}
m_LocalRotation: {x: 0, y: 0.7071068, z: 0, w: 0.7071068}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 292154147353046212}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 90, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 1, y: 1}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!223 &292154147459820181
Canvas:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 292154147459820179}
m_Enabled: 1
serializedVersion: 3
m_RenderMode: 2
m_Camera: {fileID: 0}
m_PlaneDistance: 100
m_PixelPerfect: 0
m_ReceivesEvents: 1
m_OverrideSorting: 0
m_OverridePixelPerfect: 0
m_SortingBucketNormalizedSize: 0
m_AdditionalShaderChannelsFlag: 0
m_SortingLayerID: 0
m_SortingOrder: 0
m_TargetDisplay: 0
--- !u!222 &292154147459820182
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 292154147459820179}
m_CullTransparentMesh: 0
--- !u!114 &292154147459820176
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 292154147459820179}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 85dfa35857b0b06448633d97d10d1f79, type: 3}
m_Name:
m_EditorClassIdentifier:
Snap: {fileID: 292154147353046214}
RestingColor: {r: 1, g: 1, b: 1, a: 0.16862746}
ValidSnapColor: {r: 1, g: 1, b: 1, a: 1}
RestingScale: 4400
ValidSnapScale: 4300
ScaleSpeed: 50
--- !u!114 &9214684175537064418
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 292154147459820179}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 1980459831, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Name:
m_EditorClassIdentifier:
m_UiScaleMode: 0
m_ReferencePixelsPerUnit: 100
m_ScaleFactor: 1
m_ReferenceResolution: {x: 800, y: 600}
m_ScreenMatchMode: 0
m_MatchWidthOrHeight: 0
m_PhysicalUnit: 3
m_FallbackScreenDPI: 96
m_DefaultSpriteDPI: 96
m_DynamicPixelsPerUnit: 4400
--- !u!114 &8925710894144457042
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 292154147459820179}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 0
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_FontData:
m_Font: {fileID: 12800000, guid: 0ebbcec4dd8e2f040b163f10df7e8382, type: 3}
m_FontSize: 22
m_FontStyle: 0
m_BestFit: 0
m_MinSize: 10
m_MaxSize: 40
m_Alignment: 4
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: O