Browse Source

Fixed flowchart errors in DragAndDrop examples

master
Christopher 8 years ago
parent
commit
bc0d1268be
  1. 242
      Assets/FungusExamples/DragAndDrop/DragAndDrop(EventSystem).unity
  2. 279
      Assets/FungusExamples/DragAndDrop/DragAndDrop.unity

242
Assets/FungusExamples/DragAndDrop/DragAndDrop(EventSystem).unity

@ -8,25 +8,25 @@ SceneSettings:
m_PVSPortalsArray: []
m_OcclusionBakeSettings:
smallestOccluder: 5
smallestHole: .25
smallestHole: 0.25
backfaceThreshold: 100
--- !u!104 &2
RenderSettings:
m_ObjectHideFlags: 0
serializedVersion: 6
serializedVersion: 7
m_Fog: 0
m_FogColor: {r: .5, g: .5, b: .5, a: 1}
m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
m_FogMode: 3
m_FogDensity: .00999999978
m_FogDensity: 0.01
m_LinearFogStart: 0
m_LinearFogEnd: 300
m_AmbientSkyColor: {r: .200000003, g: .200000003, b: .200000003, a: 1}
m_AmbientEquatorColor: {r: .200000003, g: .200000003, b: .200000003, a: 1}
m_AmbientGroundColor: {r: .200000003, g: .200000003, b: .200000003, a: 1}
m_AmbientSkyColor: {r: 0.2, g: 0.2, b: 0.2, a: 1}
m_AmbientEquatorColor: {r: 0.2, g: 0.2, b: 0.2, a: 1}
m_AmbientGroundColor: {r: 0.2, g: 0.2, b: 0.2, a: 1}
m_AmbientIntensity: 1
m_AmbientMode: 3
m_SkyboxMaterial: {fileID: 0}
m_HaloStrength: .5
m_HaloStrength: 0.5
m_FlareStrength: 1
m_FlareFadeSpeed: 3
m_HaloTexture: {fileID: 0}
@ -37,15 +37,12 @@ RenderSettings:
m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
--- !u!127 &3
LevelGameManager:
m_ObjectHideFlags: 0
m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1}
--- !u!157 &4
LightmapSettings:
m_ObjectHideFlags: 0
serializedVersion: 5
serializedVersion: 7
m_GIWorkflowMode: 1
m_LightmapsMode: 1
m_GISettings:
serializedVersion: 2
m_BounceScale: 1
@ -56,19 +53,25 @@ LightmapSettings:
m_EnableBakedLightmaps: 1
m_EnableRealtimeLightmaps: 0
m_LightmapEditorSettings:
serializedVersion: 3
serializedVersion: 4
m_Resolution: 1
m_BakeResolution: 50
m_TextureWidth: 1024
m_TextureHeight: 1024
m_AO: 0
m_AOMaxDistance: 1
m_Padding: 2
m_CompAOExponent: 0
m_CompAOExponentDirect: 0
m_Padding: 2
m_LightmapParameters: {fileID: 0}
m_LightmapsBakeMode: 1
m_TextureCompression: 0
m_DirectLightInLightProbes: 1
m_FinalGather: 0
m_FinalGatherFiltering: 1
m_FinalGatherRayCount: 1024
m_LightmapSnapshot: {fileID: 0}
m_ReflectionCompression: 2
m_LightingDataAsset: {fileID: 0}
m_RuntimeCPUUsage: 25
--- !u!196 &5
NavMeshSettings:
@ -76,15 +79,15 @@ NavMeshSettings:
m_ObjectHideFlags: 0
m_BuildSettings:
serializedVersion: 2
agentRadius: .5
agentRadius: 0.5
agentHeight: 2
agentSlope: 45
agentClimb: .400000006
agentClimb: 0.4
ledgeDropHeight: 0
maxJumpAcrossDistance: 0
accuratePlacement: 0
minRegionArea: 2
cellSize: .166666657
cellSize: 0.16666666
manualCellSize: 0
m_NavMeshData: {fileID: 0}
--- !u!1 &19757133
@ -157,8 +160,10 @@ Canvas:
m_ReceivesEvents: 1
m_OverrideSorting: 0
m_OverridePixelPerfect: 0
m_SortingBucketNormalizedSize: 0
m_SortingLayerID: 0
m_SortingOrder: 0
m_TargetDisplay: 0
--- !u!224 &19757137
RectTransform:
m_ObjectHideFlags: 0
@ -168,11 +173,12 @@ RectTransform:
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 0, y: 0, z: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 245689044}
- {fileID: 2096462795}
m_Father: {fileID: 0}
m_RootOrder: 7
m_RootOrder: 8
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
@ -215,7 +221,7 @@ Prefab:
objectReference: {fileID: 0}
- target: {fileID: 400000, guid: 0e6bcf37a2876432fa58eff8888bf177, type: 2}
propertyPath: m_RootOrder
value: 4
value: 5
objectReference: {fileID: 0}
- target: {fileID: 100000, guid: 0e6bcf37a2876432fa58eff8888bf177, type: 2}
propertyPath: m_Name
@ -225,6 +231,10 @@ Prefab:
propertyPath: useEventSystem
value: 1
objectReference: {fileID: 0}
- target: {fileID: 11400000, guid: 0e6bcf37a2876432fa58eff8888bf177, type: 2}
propertyPath: hoverCursor
value:
objectReference: {fileID: 2800000, guid: 22eb050bacf8c401ca8503e24bff3570, type: 3}
m_RemovedComponents: []
m_ParentPrefab: {fileID: 100100000, guid: 0e6bcf37a2876432fa58eff8888bf177, type: 2}
m_IsPrefabParent: 0
@ -255,15 +265,16 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 349486055}
m_Father: {fileID: 19757137}
m_RootOrder: 0
m_AnchorMin: {x: .5, y: .5}
m_AnchorMax: {x: .5, y: .5}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -166, y: 63}
m_SizeDelta: {x: 185, y: 65}
m_Pivot: {x: .5, y: .5}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &245689045
MonoBehaviour:
m_ObjectHideFlags: 0
@ -284,11 +295,11 @@ MonoBehaviour:
m_Transition: 1
m_Colors:
m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
m_HighlightedColor: {r: .960784316, g: .960784316, b: .960784316, a: 1}
m_PressedColor: {r: .784313738, g: .784313738, b: .784313738, a: 1}
m_DisabledColor: {r: .784313738, g: .784313738, b: .784313738, a: .501960814}
m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
m_ColorMultiplier: 1
m_FadeDuration: .100000001
m_FadeDuration: 0.1
m_SpriteState:
m_HighlightedSprite: {fileID: 0}
m_PressedSprite: {fileID: 0}
@ -318,6 +329,12 @@ MonoBehaviour:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0}
m_Type: 1
m_PreserveAspect: 0
@ -382,14 +399,14 @@ Camera:
m_Enabled: 1
serializedVersion: 2
m_ClearFlags: 1
m_BackGroundColor: {r: .192156866, g: .301960796, b: .474509805, a: .0196078438}
m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0.019607844}
m_NormalizedViewPortRect:
serializedVersion: 2
x: 0
y: 0
width: 1
height: 1
near clip plane: .300000012
near clip plane: 0.3
far clip plane: 1000
field of view: 60
orthographic: 1
@ -401,10 +418,12 @@ Camera:
m_RenderingPath: -1
m_TargetTexture: {fileID: 0}
m_TargetDisplay: 0
m_TargetEye: 3
m_HDR: 0
m_OcclusionCulling: 1
m_StereoConvergence: 10
m_StereoSeparation: .0219999999
m_StereoSeparation: 0.022
m_StereoMirrorMode: 0
--- !u!4 &268187672
Transform:
m_ObjectHideFlags: 0
@ -412,8 +431,9 @@ Transform:
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 268187667}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -.0500000007, y: -.540000021, z: -10}
m_LocalPosition: {x: -0.05, y: -0.54, z: -10}
m_LocalScale: {x: 1, y: 1, z: 1}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0
@ -468,9 +488,10 @@ Transform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0
m_RootOrder: 1
--- !u!1 &349486054
GameObject:
m_ObjectHideFlags: 0
@ -497,6 +518,7 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 245689044}
m_RootOrder: 0
@ -504,7 +526,7 @@ RectTransform:
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: .5, y: .5}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &349486056
MonoBehaviour:
m_ObjectHideFlags: 0
@ -517,7 +539,13 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: .196078435, g: .196078435, b: .196078435, a: 1}
m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
m_RaycastTarget: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_FontData:
m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
m_FontSize: 14
@ -526,6 +554,7 @@ MonoBehaviour:
m_MinSize: 10
m_MaxSize: 40
m_Alignment: 4
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
@ -546,7 +575,7 @@ Prefab:
m_Modifications:
- target: {fileID: 400000, guid: 4442b79fcbcbb4aac97f42d6dc3d4e0b, type: 2}
propertyPath: m_LocalPosition.x
value: 2.99000001
value: 2.99
objectReference: {fileID: 0}
- target: {fileID: 400000, guid: 4442b79fcbcbb4aac97f42d6dc3d4e0b, type: 2}
propertyPath: m_LocalPosition.y
@ -574,26 +603,26 @@ Prefab:
objectReference: {fileID: 0}
- target: {fileID: 400000, guid: 4442b79fcbcbb4aac97f42d6dc3d4e0b, type: 2}
propertyPath: m_RootOrder
value: 2
value: 3
objectReference: {fileID: 0}
m_RemovedComponents: []
m_ParentPrefab: {fileID: 100100000, guid: 4442b79fcbcbb4aac97f42d6dc3d4e0b, type: 2}
m_IsPrefabParent: 0
--- !u!1 &591590528
--- !u!1 &591590528 stripped
GameObject:
m_PrefabParentObject: {fileID: 100000, guid: 0e6bcf37a2876432fa58eff8888bf177, type: 2}
m_PrefabInternal: {fileID: 1373034542}
--- !u!114 &591590529
--- !u!114 &591590529 stripped
MonoBehaviour:
m_PrefabParentObject: {fileID: 11400000, guid: 0e6bcf37a2876432fa58eff8888bf177,
type: 2}
m_PrefabInternal: {fileID: 1373034542}
m_Script: {fileID: 11500000, guid: cc03961113fa349c09cb06ef2911013d, type: 3}
--- !u!1 &606394391
--- !u!1 &606394391 stripped
GameObject:
m_PrefabParentObject: {fileID: 100000, guid: 4442b79fcbcbb4aac97f42d6dc3d4e0b, type: 2}
m_PrefabInternal: {fileID: 442175927}
--- !u!58 &606394392
--- !u!58 &606394392 stripped
CircleCollider2D:
m_PrefabParentObject: {fileID: 5800000, guid: 4442b79fcbcbb4aac97f42d6dc3d4e0b,
type: 2}
@ -635,14 +664,15 @@ Transform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 9
--- !u!1 &1081858233
m_RootOrder: 10
--- !u!1 &1081858233 stripped
GameObject:
m_PrefabParentObject: {fileID: 100000, guid: 4d55f86cf3b124c8fb1158da26ffa96d, type: 2}
m_PrefabInternal: {fileID: 2135880372}
--- !u!114 &1081858236
--- !u!114 &1081858236 stripped
MonoBehaviour:
m_PrefabParentObject: {fileID: 11400000, guid: 4d55f86cf3b124c8fb1158da26ffa96d,
type: 2}
@ -691,9 +721,10 @@ Transform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 1
m_RootOrder: 4
--- !u!1001 &1373034542
Prefab:
m_ObjectHideFlags: 0
@ -703,11 +734,11 @@ Prefab:
m_Modifications:
- target: {fileID: 400000, guid: 0e6bcf37a2876432fa58eff8888bf177, type: 2}
propertyPath: m_LocalPosition.x
value: 3.18000007
value: 3.18
objectReference: {fileID: 0}
- target: {fileID: 400000, guid: 0e6bcf37a2876432fa58eff8888bf177, type: 2}
propertyPath: m_LocalPosition.y
value: -3.1500001
value: -3.15
objectReference: {fileID: 0}
- target: {fileID: 400000, guid: 0e6bcf37a2876432fa58eff8888bf177, type: 2}
propertyPath: m_LocalPosition.z
@ -731,7 +762,7 @@ Prefab:
objectReference: {fileID: 0}
- target: {fileID: 400000, guid: 0e6bcf37a2876432fa58eff8888bf177, type: 2}
propertyPath: m_RootOrder
value: 5
value: 6
objectReference: {fileID: 0}
- target: {fileID: 100000, guid: 0e6bcf37a2876432fa58eff8888bf177, type: 2}
propertyPath: m_Name
@ -752,21 +783,6 @@ Prefab:
m_RemovedComponents: []
m_ParentPrefab: {fileID: 100100000, guid: 0e6bcf37a2876432fa58eff8888bf177, type: 2}
m_IsPrefabParent: 0
--- !u!115 &1447151998
MonoScript:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name:
serializedVersion: 4
m_Script:
m_DefaultReferences: {}
m_Icon: {fileID: 0}
m_ExecutionOrder: 0
m_ClassName: SetActive
m_Namespace: Fungus
m_AssemblyName: Assembly-CSharp.dll
m_IsEditorScript: 0
--- !u!1 &1597904418
GameObject:
m_ObjectHideFlags: 0
@ -800,7 +816,8 @@ MonoBehaviour:
m_SubmitButton: Submit
m_CancelButton: Cancel
m_InputActionsPerSecond: 10
m_AllowActivationOnMobileDevice: 0
m_RepeatDelay: 0.5
m_ForceModuleActive: 0
--- !u!114 &1597904420
MonoBehaviour:
m_ObjectHideFlags: 0
@ -824,14 +841,15 @@ Transform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 8
--- !u!1 &1637100245
m_RootOrder: 9
--- !u!1 &1637100245 stripped
GameObject:
m_PrefabParentObject: {fileID: 100000, guid: 0e6bcf37a2876432fa58eff8888bf177, type: 2}
m_PrefabInternal: {fileID: 228925351}
--- !u!114 &1637100246
--- !u!114 &1637100246 stripped
MonoBehaviour:
m_PrefabParentObject: {fileID: 11400000, guid: 0e6bcf37a2876432fa58eff8888bf177,
type: 2}
@ -863,6 +881,7 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 2096462795}
m_RootOrder: 0
@ -870,7 +889,7 @@ RectTransform:
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: .5, y: .5}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1966497755
MonoBehaviour:
m_ObjectHideFlags: 0
@ -883,7 +902,13 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: .196078435, g: .196078435, b: .196078435, a: 1}
m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
m_RaycastTarget: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_FontData:
m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
m_FontSize: 14
@ -892,6 +917,7 @@ MonoBehaviour:
m_MinSize: 10
m_MaxSize: 40
m_Alignment: 4
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
@ -917,7 +943,6 @@ GameObject:
- 114: {fileID: 2019116683}
- 114: {fileID: 2019116680}
- 114: {fileID: 2019116669}
- 114: {fileID: 2019116670}
- 114: {fileID: 2019116677}
- 114: {fileID: 2019116676}
- 114: {fileID: 2019116675}
@ -1011,29 +1036,7 @@ MonoBehaviour:
eventHandler: {fileID: 2019116681}
commandList:
- {fileID: 2019116672}
- {fileID: 2019116670}
- {fileID: 2019116671}
--- !u!114 &2019116670
MonoBehaviour:
m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2019116667}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 1447151998}
m_Name:
m_EditorClassIdentifier:
itemId: 0
errorMessage:
indentLevel: 0
_targetGameObject:
gameObjectRef: {fileID: 0}
gameObjectVal: {fileID: 1081858233}
activeState:
booleanRef: {fileID: 0}
booleanVal: 0
targetGameObjectOLD: {fileID: 0}
--- !u!114 &2019116671
MonoBehaviour:
m_ObjectHideFlags: 2
@ -1046,7 +1049,6 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
itemId: 6
errorMessage:
indentLevel: 0
_targetObject:
gameObjectRef: {fileID: 0}
@ -1066,7 +1068,7 @@ MonoBehaviour:
durationOLD: 0
_offset:
vector3Ref: {fileID: 0}
vector3Val: {x: .5, y: .5, z: 0}
vector3Val: {x: 0.5, y: 0.5, z: 0}
offsetOLD: {x: 0, y: 0, z: 0}
--- !u!114 &2019116672
MonoBehaviour:
@ -1080,7 +1082,6 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
itemId: 5
errorMessage:
indentLevel: 0
commenterName:
commentText: Destroy the dragged object and scale up the target object
@ -1109,7 +1110,6 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
itemId: 4
errorMessage:
indentLevel: 0
commenterName:
commentText: Decrease scale when drag is cancelled
@ -1125,7 +1125,6 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
itemId: 3
errorMessage:
indentLevel: 0
commenterName:
commentText: Increase scale when drag starts
@ -1141,7 +1140,6 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
itemId: 2
errorMessage:
indentLevel: 0
_targetObject:
gameObjectRef: {fileID: 0}
@ -1151,7 +1149,7 @@ MonoBehaviour:
stringVal:
_duration:
floatRef: {fileID: 0}
floatVal: .100000001
floatVal: 0.1
easeType: 2
loopType: 0
stopPreviousTweens: 0
@ -1161,7 +1159,7 @@ MonoBehaviour:
durationOLD: 0
_offset:
vector3Ref: {fileID: 0}
vector3Val: {x: -.25, y: -.25, z: 0}
vector3Val: {x: -0.25, y: -0.25, z: 0}
offsetOLD: {x: 0, y: 0, z: 0}
--- !u!114 &2019116677
MonoBehaviour:
@ -1175,7 +1173,6 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
itemId: 1
errorMessage:
indentLevel: 0
_targetObject:
gameObjectRef: {fileID: 0}
@ -1185,7 +1182,7 @@ MonoBehaviour:
stringVal:
_duration:
floatRef: {fileID: 0}
floatVal: .100000001
floatVal: 0.1
easeType: 2
loopType: 0
stopPreviousTweens: 0
@ -1195,7 +1192,7 @@ MonoBehaviour:
durationOLD: 0
_offset:
vector3Ref: {fileID: 0}
vector3Val: {x: .25, y: .25, z: 0}
vector3Val: {x: 0.25, y: 0.25, z: 0}
offsetOLD: {x: 0, y: 0, z: 0}
--- !u!114 &2019116678
MonoBehaviour:
@ -1222,7 +1219,6 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
itemId: 10
errorMessage:
indentLevel: 0
commenterName:
commentText: Do a punch rotation effect when the dragged object stops touching the
@ -1277,7 +1273,6 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
itemId: 9
errorMessage:
indentLevel: 0
commenterName:
commentText: Do a punch position effect when the dragged object starts touching
@ -1394,7 +1389,6 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
itemId: 11
errorMessage:
indentLevel: 0
_targetObject:
gameObjectRef: {fileID: 0}
@ -1425,11 +1419,12 @@ Transform:
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2019116667}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -1.15999997, y: .340000004, z: 0}
m_LocalPosition: {x: -1.16, y: 0.34, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 6
m_RootOrder: 7
--- !u!114 &2019116690
MonoBehaviour:
m_ObjectHideFlags: 2
@ -1442,7 +1437,6 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
itemId: 7
errorMessage:
indentLevel: 0
_targetObject:
gameObjectRef: {fileID: 0}
@ -1477,7 +1471,6 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
itemId: 8
errorMessage:
indentLevel: 0
_targetObject:
gameObjectRef: {fileID: 0}
@ -1571,7 +1564,6 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
itemId: 12
errorMessage:
indentLevel: 0
_targetObject:
gameObjectRef: {fileID: 0}
@ -1591,7 +1583,7 @@ MonoBehaviour:
durationOLD: 0
_amount:
vector3Ref: {fileID: 0}
vector3Val: {x: .5, y: .5, z: 0}
vector3Val: {x: 0.5, y: 0.5, z: 0}
amountOLD: {x: 0, y: 0, z: 0}
--- !u!114 &2019116696
MonoBehaviour:
@ -1618,7 +1610,6 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
itemId: 21
errorMessage:
indentLevel: 0
cursorTexture: {fileID: 2800000, guid: 502e0c9b755f34db0b90bf78857d8a1c, type: 3}
hotSpot: {x: 0, y: 0}
@ -1684,15 +1675,16 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 1966497754}
m_Father: {fileID: 19757137}
m_RootOrder: 1
m_AnchorMin: {x: .5, y: .5}
m_AnchorMax: {x: .5, y: .5}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -166, y: -157}
m_SizeDelta: {x: 185, y: 65}
m_Pivot: {x: .5, y: .5}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &2096462796
MonoBehaviour:
m_ObjectHideFlags: 0
@ -1713,11 +1705,11 @@ MonoBehaviour:
m_Transition: 1
m_Colors:
m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
m_HighlightedColor: {r: .960784316, g: .960784316, b: .960784316, a: 1}
m_PressedColor: {r: .784313738, g: .784313738, b: .784313738, a: 1}
m_DisabledColor: {r: .784313738, g: .784313738, b: .784313738, a: .501960814}
m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
m_ColorMultiplier: 1
m_FadeDuration: .100000001
m_FadeDuration: 0.1
m_SpriteState:
m_HighlightedSprite: {fileID: 0}
m_PressedSprite: {fileID: 0}
@ -1747,6 +1739,12 @@ MonoBehaviour:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0}
m_Type: 1
m_PreserveAspect: 0
@ -1804,6 +1802,10 @@ Prefab:
propertyPath: useEventSystem
value: 1
objectReference: {fileID: 0}
- target: {fileID: 11400000, guid: 4d55f86cf3b124c8fb1158da26ffa96d, type: 2}
propertyPath: hoverCursor
value:
objectReference: {fileID: 2800000, guid: 22eb050bacf8c401ca8503e24bff3570, type: 3}
m_RemovedComponents: []
m_ParentPrefab: {fileID: 100100000, guid: 4d55f86cf3b124c8fb1158da26ffa96d, type: 2}
m_IsPrefabParent: 0

279
Assets/FungusExamples/DragAndDrop/DragAndDrop.unity

@ -8,25 +8,25 @@ SceneSettings:
m_PVSPortalsArray: []
m_OcclusionBakeSettings:
smallestOccluder: 5
smallestHole: .25
smallestHole: 0.25
backfaceThreshold: 100
--- !u!104 &2
RenderSettings:
m_ObjectHideFlags: 0
serializedVersion: 6
serializedVersion: 7
m_Fog: 0
m_FogColor: {r: .5, g: .5, b: .5, a: 1}
m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
m_FogMode: 3
m_FogDensity: .00999999978
m_FogDensity: 0.01
m_LinearFogStart: 0
m_LinearFogEnd: 300
m_AmbientSkyColor: {r: .200000003, g: .200000003, b: .200000003, a: 1}
m_AmbientEquatorColor: {r: .200000003, g: .200000003, b: .200000003, a: 1}
m_AmbientGroundColor: {r: .200000003, g: .200000003, b: .200000003, a: 1}
m_AmbientSkyColor: {r: 0.2, g: 0.2, b: 0.2, a: 1}
m_AmbientEquatorColor: {r: 0.2, g: 0.2, b: 0.2, a: 1}
m_AmbientGroundColor: {r: 0.2, g: 0.2, b: 0.2, a: 1}
m_AmbientIntensity: 1
m_AmbientMode: 3
m_SkyboxMaterial: {fileID: 0}
m_HaloStrength: .5
m_HaloStrength: 0.5
m_FlareStrength: 1
m_FlareFadeSpeed: 3
m_HaloTexture: {fileID: 0}
@ -37,15 +37,12 @@ RenderSettings:
m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
--- !u!127 &3
LevelGameManager:
m_ObjectHideFlags: 0
m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1}
--- !u!157 &4
LightmapSettings:
m_ObjectHideFlags: 0
serializedVersion: 5
serializedVersion: 7
m_GIWorkflowMode: 1
m_LightmapsMode: 1
m_GISettings:
serializedVersion: 2
m_BounceScale: 1
@ -56,19 +53,25 @@ LightmapSettings:
m_EnableBakedLightmaps: 1
m_EnableRealtimeLightmaps: 0
m_LightmapEditorSettings:
serializedVersion: 3
serializedVersion: 4
m_Resolution: 1
m_BakeResolution: 50
m_TextureWidth: 1024
m_TextureHeight: 1024
m_AO: 0
m_AOMaxDistance: 1
m_Padding: 2
m_CompAOExponent: 0
m_CompAOExponentDirect: 0
m_Padding: 2
m_LightmapParameters: {fileID: 0}
m_LightmapsBakeMode: 1
m_TextureCompression: 0
m_DirectLightInLightProbes: 1
m_FinalGather: 0
m_FinalGatherFiltering: 1
m_FinalGatherRayCount: 1024
m_LightmapSnapshot: {fileID: 0}
m_ReflectionCompression: 2
m_LightingDataAsset: {fileID: 0}
m_RuntimeCPUUsage: 25
--- !u!196 &5
NavMeshSettings:
@ -76,15 +79,15 @@ NavMeshSettings:
m_ObjectHideFlags: 0
m_BuildSettings:
serializedVersion: 2
agentRadius: .5
agentRadius: 0.5
agentHeight: 2
agentSlope: 45
agentClimb: .400000006
agentClimb: 0.4
ledgeDropHeight: 0
maxJumpAcrossDistance: 0
accuratePlacement: 0
minRegionArea: 2
cellSize: .166666657
cellSize: 0.16666666
manualCellSize: 0
m_NavMeshData: {fileID: 0}
--- !u!1 &19757133
@ -157,8 +160,10 @@ Canvas:
m_ReceivesEvents: 1
m_OverrideSorting: 0
m_OverridePixelPerfect: 0
m_SortingBucketNormalizedSize: 0
m_SortingLayerID: 0
m_SortingOrder: 0
m_TargetDisplay: 0
--- !u!224 &19757137
RectTransform:
m_ObjectHideFlags: 0
@ -168,11 +173,12 @@ RectTransform:
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 0, y: 0, z: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 245689044}
- {fileID: 2096462795}
m_Father: {fileID: 0}
m_RootOrder: 7
m_RootOrder: 8
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
@ -215,12 +221,16 @@ Prefab:
objectReference: {fileID: 0}
- target: {fileID: 400000, guid: 0e6bcf37a2876432fa58eff8888bf177, type: 2}
propertyPath: m_RootOrder
value: 4
value: 5
objectReference: {fileID: 0}
- target: {fileID: 100000, guid: 0e6bcf37a2876432fa58eff8888bf177, type: 2}
propertyPath: m_Name
value: ClickableSprite1
objectReference: {fileID: 0}
- target: {fileID: 11400000, guid: 0e6bcf37a2876432fa58eff8888bf177, type: 2}
propertyPath: hoverCursor
value:
objectReference: {fileID: 2800000, guid: 22eb050bacf8c401ca8503e24bff3570, type: 3}
m_RemovedComponents: []
m_ParentPrefab: {fileID: 100100000, guid: 0e6bcf37a2876432fa58eff8888bf177, type: 2}
m_IsPrefabParent: 0
@ -251,15 +261,16 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 349486055}
m_Father: {fileID: 19757137}
m_RootOrder: 0
m_AnchorMin: {x: .5, y: .5}
m_AnchorMax: {x: .5, y: .5}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -166, y: 63}
m_SizeDelta: {x: 185, y: 65}
m_Pivot: {x: .5, y: .5}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &245689045
MonoBehaviour:
m_ObjectHideFlags: 0
@ -280,11 +291,11 @@ MonoBehaviour:
m_Transition: 1
m_Colors:
m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
m_HighlightedColor: {r: .960784316, g: .960784316, b: .960784316, a: 1}
m_PressedColor: {r: .784313738, g: .784313738, b: .784313738, a: 1}
m_DisabledColor: {r: .784313738, g: .784313738, b: .784313738, a: .501960814}
m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
m_ColorMultiplier: 1
m_FadeDuration: .100000001
m_FadeDuration: 0.1
m_SpriteState:
m_HighlightedSprite: {fileID: 0}
m_PressedSprite: {fileID: 0}
@ -314,6 +325,12 @@ MonoBehaviour:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0}
m_Type: 1
m_PreserveAspect: 0
@ -377,14 +394,14 @@ Camera:
m_Enabled: 1
serializedVersion: 2
m_ClearFlags: 1
m_BackGroundColor: {r: .192156866, g: .301960796, b: .474509805, a: .0196078438}
m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0.019607844}
m_NormalizedViewPortRect:
serializedVersion: 2
x: 0
y: 0
width: 1
height: 1
near clip plane: .300000012
near clip plane: 0.3
far clip plane: 1000
field of view: 60
orthographic: 1
@ -396,10 +413,12 @@ Camera:
m_RenderingPath: -1
m_TargetTexture: {fileID: 0}
m_TargetDisplay: 0
m_TargetEye: 3
m_HDR: 0
m_OcclusionCulling: 1
m_StereoConvergence: 10
m_StereoSeparation: .0219999999
m_StereoSeparation: 0.022
m_StereoMirrorMode: 0
--- !u!4 &268187672
Transform:
m_ObjectHideFlags: 0
@ -407,8 +426,9 @@ Transform:
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 268187667}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -.0500000007, y: -.540000021, z: -10}
m_LocalPosition: {x: -0.05, y: -0.54, z: -10}
m_LocalScale: {x: 1, y: 1, z: 1}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0
@ -449,9 +469,10 @@ Transform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0
m_RootOrder: 1
--- !u!1 &349486054
GameObject:
m_ObjectHideFlags: 0
@ -478,6 +499,7 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 245689044}
m_RootOrder: 0
@ -485,7 +507,7 @@ RectTransform:
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: .5, y: .5}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &349486056
MonoBehaviour:
m_ObjectHideFlags: 0
@ -498,7 +520,13 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: .196078435, g: .196078435, b: .196078435, a: 1}
m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
m_RaycastTarget: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_FontData:
m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
m_FontSize: 14
@ -507,6 +535,7 @@ MonoBehaviour:
m_MinSize: 10
m_MaxSize: 40
m_Alignment: 4
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
@ -527,7 +556,7 @@ Prefab:
m_Modifications:
- target: {fileID: 400000, guid: 4442b79fcbcbb4aac97f42d6dc3d4e0b, type: 2}
propertyPath: m_LocalPosition.x
value: 2.99000001
value: 2.99
objectReference: {fileID: 0}
- target: {fileID: 400000, guid: 4442b79fcbcbb4aac97f42d6dc3d4e0b, type: 2}
propertyPath: m_LocalPosition.y
@ -555,26 +584,26 @@ Prefab:
objectReference: {fileID: 0}
- target: {fileID: 400000, guid: 4442b79fcbcbb4aac97f42d6dc3d4e0b, type: 2}
propertyPath: m_RootOrder
value: 2
value: 3
objectReference: {fileID: 0}
m_RemovedComponents: []
m_ParentPrefab: {fileID: 100100000, guid: 4442b79fcbcbb4aac97f42d6dc3d4e0b, type: 2}
m_IsPrefabParent: 0
--- !u!1 &591590528
--- !u!1 &591590528 stripped
GameObject:
m_PrefabParentObject: {fileID: 100000, guid: 0e6bcf37a2876432fa58eff8888bf177, type: 2}
m_PrefabInternal: {fileID: 1373034542}
--- !u!114 &591590529
--- !u!114 &591590529 stripped
MonoBehaviour:
m_PrefabParentObject: {fileID: 11400000, guid: 0e6bcf37a2876432fa58eff8888bf177,
type: 2}
m_PrefabInternal: {fileID: 1373034542}
m_Script: {fileID: 11500000, guid: cc03961113fa349c09cb06ef2911013d, type: 3}
--- !u!1 &606394391
--- !u!1 &606394391 stripped
GameObject:
m_PrefabParentObject: {fileID: 100000, guid: 4442b79fcbcbb4aac97f42d6dc3d4e0b, type: 2}
m_PrefabInternal: {fileID: 442175927}
--- !u!58 &606394392
--- !u!58 &606394392 stripped
CircleCollider2D:
m_PrefabParentObject: {fileID: 5800000, guid: 4442b79fcbcbb4aac97f42d6dc3d4e0b,
type: 2}
@ -616,14 +645,15 @@ Transform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 9
--- !u!1 &1081858233
m_RootOrder: 10
--- !u!1 &1081858233 stripped
GameObject:
m_PrefabParentObject: {fileID: 100000, guid: 4d55f86cf3b124c8fb1158da26ffa96d, type: 2}
m_PrefabInternal: {fileID: 2135880372}
--- !u!114 &1081858236
--- !u!114 &1081858236 stripped
MonoBehaviour:
m_PrefabParentObject: {fileID: 11400000, guid: 4d55f86cf3b124c8fb1158da26ffa96d,
type: 2}
@ -677,9 +707,10 @@ Transform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 1
m_RootOrder: 4
--- !u!1001 &1373034542
Prefab:
m_ObjectHideFlags: 0
@ -689,11 +720,11 @@ Prefab:
m_Modifications:
- target: {fileID: 400000, guid: 0e6bcf37a2876432fa58eff8888bf177, type: 2}
propertyPath: m_LocalPosition.x
value: 3.18000007
value: 3.18
objectReference: {fileID: 0}
- target: {fileID: 400000, guid: 0e6bcf37a2876432fa58eff8888bf177, type: 2}
propertyPath: m_LocalPosition.y
value: -3.1500001
value: -3.15
objectReference: {fileID: 0}
- target: {fileID: 400000, guid: 0e6bcf37a2876432fa58eff8888bf177, type: 2}
propertyPath: m_LocalPosition.z
@ -717,7 +748,7 @@ Prefab:
objectReference: {fileID: 0}
- target: {fileID: 400000, guid: 0e6bcf37a2876432fa58eff8888bf177, type: 2}
propertyPath: m_RootOrder
value: 5
value: 6
objectReference: {fileID: 0}
- target: {fileID: 100000, guid: 0e6bcf37a2876432fa58eff8888bf177, type: 2}
propertyPath: m_Name
@ -782,7 +813,8 @@ MonoBehaviour:
m_SubmitButton: Submit
m_CancelButton: Cancel
m_InputActionsPerSecond: 10
m_AllowActivationOnMobileDevice: 0
m_RepeatDelay: 0.5
m_ForceModuleActive: 0
--- !u!114 &1597904420
MonoBehaviour:
m_ObjectHideFlags: 0
@ -806,14 +838,15 @@ Transform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 8
--- !u!1 &1637100245
m_RootOrder: 9
--- !u!1 &1637100245 stripped
GameObject:
m_PrefabParentObject: {fileID: 100000, guid: 0e6bcf37a2876432fa58eff8888bf177, type: 2}
m_PrefabInternal: {fileID: 228925351}
--- !u!114 &1637100246
--- !u!114 &1637100246 stripped
MonoBehaviour:
m_PrefabParentObject: {fileID: 11400000, guid: 0e6bcf37a2876432fa58eff8888bf177,
type: 2}
@ -845,6 +878,7 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 2096462795}
m_RootOrder: 0
@ -852,7 +886,7 @@ RectTransform:
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: .5, y: .5}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1966497755
MonoBehaviour:
m_ObjectHideFlags: 0
@ -865,7 +899,13 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: .196078435, g: .196078435, b: .196078435, a: 1}
m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
m_RaycastTarget: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_FontData:
m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
m_FontSize: 14
@ -874,6 +914,7 @@ MonoBehaviour:
m_MinSize: 10
m_MaxSize: 40
m_Alignment: 4
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
@ -954,7 +995,7 @@ MonoBehaviour:
y: -452
width: 1887
height: 1080
selectedBlock: {fileID: 2019116687}
selectedBlock: {fileID: 2019116669}
selectedCommands: []
variables: []
description: 'This scene shows how to set up a drag-and-drop
@ -962,7 +1003,7 @@ MonoBehaviour:
behavior and making objects clickable.'
stepPause: 0
colorCommands: 1
hideComponents: 1
hideComponents: 0
saveSelection: 1
localizationId:
showLineNumbers: 0
@ -971,7 +1012,7 @@ MonoBehaviour:
luaBindingName: flowchart
--- !u!114 &2019116669
MonoBehaviour:
m_ObjectHideFlags: 2
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2019116667}
@ -992,11 +1033,10 @@ MonoBehaviour:
eventHandler: {fileID: 2019116681}
commandList:
- {fileID: 2019116672}
- {fileID: 2019116670}
- {fileID: 2019116671}
--- !u!114 &2019116670
MonoBehaviour:
m_ObjectHideFlags: 2
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2019116667}
@ -1005,19 +1045,9 @@ MonoBehaviour:
m_Script: {fileID: 1447151998}
m_Name:
m_EditorClassIdentifier:
itemId: 0
errorMessage:
indentLevel: 0
_targetGameObject:
gameObjectRef: {fileID: 0}
gameObjectVal: {fileID: 1081858233}
activeState:
booleanRef: {fileID: 0}
booleanVal: 0
targetGameObjectOLD: {fileID: 0}
--- !u!114 &2019116671
MonoBehaviour:
m_ObjectHideFlags: 2
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2019116667}
@ -1027,7 +1057,6 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
itemId: 6
errorMessage:
indentLevel: 0
_targetObject:
gameObjectRef: {fileID: 0}
@ -1047,11 +1076,11 @@ MonoBehaviour:
durationOLD: 0
_offset:
vector3Ref: {fileID: 0}
vector3Val: {x: .5, y: .5, z: 0}
vector3Val: {x: 0.5, y: 0.5, z: 0}
offsetOLD: {x: 0, y: 0, z: 0}
--- !u!114 &2019116672
MonoBehaviour:
m_ObjectHideFlags: 2
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2019116667}
@ -1061,13 +1090,12 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
itemId: 5
errorMessage:
indentLevel: 0
commenterName:
commentText: Destroy the dragged object and scale up the target object
--- !u!114 &2019116673
MonoBehaviour:
m_ObjectHideFlags: 2
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2019116667}
@ -1080,7 +1108,7 @@ MonoBehaviour:
draggableObject: {fileID: 1081858236}
--- !u!114 &2019116674
MonoBehaviour:
m_ObjectHideFlags: 2
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2019116667}
@ -1090,13 +1118,12 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
itemId: 4
errorMessage:
indentLevel: 0
commenterName:
commentText: Decrease scale when drag is cancelled
--- !u!114 &2019116675
MonoBehaviour:
m_ObjectHideFlags: 2
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2019116667}
@ -1106,13 +1133,12 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
itemId: 3
errorMessage:
indentLevel: 0
commenterName:
commentText: Increase scale when drag starts
--- !u!114 &2019116676
MonoBehaviour:
m_ObjectHideFlags: 2
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2019116667}
@ -1122,7 +1148,6 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
itemId: 2
errorMessage:
indentLevel: 0
_targetObject:
gameObjectRef: {fileID: 0}
@ -1132,7 +1157,7 @@ MonoBehaviour:
stringVal:
_duration:
floatRef: {fileID: 0}
floatVal: .100000001
floatVal: 0.1
easeType: 2
loopType: 0
stopPreviousTweens: 0
@ -1142,11 +1167,11 @@ MonoBehaviour:
durationOLD: 0
_offset:
vector3Ref: {fileID: 0}
vector3Val: {x: -.25, y: -.25, z: 0}
vector3Val: {x: -0.25, y: -0.25, z: 0}
offsetOLD: {x: 0, y: 0, z: 0}
--- !u!114 &2019116677
MonoBehaviour:
m_ObjectHideFlags: 2
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2019116667}
@ -1156,7 +1181,6 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
itemId: 1
errorMessage:
indentLevel: 0
_targetObject:
gameObjectRef: {fileID: 0}
@ -1166,7 +1190,7 @@ MonoBehaviour:
stringVal:
_duration:
floatRef: {fileID: 0}
floatVal: .100000001
floatVal: 0.1
easeType: 2
loopType: 0
stopPreviousTweens: 0
@ -1176,11 +1200,11 @@ MonoBehaviour:
durationOLD: 0
_offset:
vector3Ref: {fileID: 0}
vector3Val: {x: .25, y: .25, z: 0}
vector3Val: {x: 0.25, y: 0.25, z: 0}
offsetOLD: {x: 0, y: 0, z: 0}
--- !u!114 &2019116678
MonoBehaviour:
m_ObjectHideFlags: 2
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2019116667}
@ -1193,7 +1217,7 @@ MonoBehaviour:
draggableObject: {fileID: 1081858236}
--- !u!114 &2019116679
MonoBehaviour:
m_ObjectHideFlags: 2
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2019116667}
@ -1203,14 +1227,13 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
itemId: 10
errorMessage:
indentLevel: 0
commenterName:
commentText: Do a punch rotation effect when the dragged object stops touching the
target object.
--- !u!114 &2019116680
MonoBehaviour:
m_ObjectHideFlags: 2
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2019116667}
@ -1234,7 +1257,7 @@ MonoBehaviour:
- {fileID: 2019116691}
--- !u!114 &2019116681
MonoBehaviour:
m_ObjectHideFlags: 2
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2019116667}
@ -1248,7 +1271,7 @@ MonoBehaviour:
targetObject: {fileID: 606394392}
--- !u!114 &2019116682
MonoBehaviour:
m_ObjectHideFlags: 2
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2019116667}
@ -1258,14 +1281,13 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
itemId: 9
errorMessage:
indentLevel: 0
commenterName:
commentText: Do a punch position effect when the dragged object starts touching
the target object.
--- !u!114 &2019116683
MonoBehaviour:
m_ObjectHideFlags: 2
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2019116667}
@ -1289,7 +1311,7 @@ MonoBehaviour:
- {fileID: 2019116690}
--- !u!114 &2019116684
MonoBehaviour:
m_ObjectHideFlags: 2
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2019116667}
@ -1303,7 +1325,7 @@ MonoBehaviour:
targetObject: {fileID: 606394392}
--- !u!114 &2019116685
MonoBehaviour:
m_ObjectHideFlags: 2
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2019116667}
@ -1327,7 +1349,7 @@ MonoBehaviour:
- {fileID: 2019116676}
--- !u!114 &2019116686
MonoBehaviour:
m_ObjectHideFlags: 2
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2019116667}
@ -1341,7 +1363,7 @@ MonoBehaviour:
targetObject: {fileID: 606394392}
--- !u!114 &2019116687
MonoBehaviour:
m_ObjectHideFlags: 2
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2019116667}
@ -1365,7 +1387,7 @@ MonoBehaviour:
- {fileID: 2019116677}
--- !u!114 &2019116688
MonoBehaviour:
m_ObjectHideFlags: 2
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2019116667}
@ -1375,7 +1397,6 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
itemId: 11
errorMessage:
indentLevel: 0
_targetObject:
gameObjectRef: {fileID: 0}
@ -1406,14 +1427,15 @@ Transform:
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2019116667}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -1.15999997, y: .340000004, z: 0}
m_LocalPosition: {x: -1.16, y: 0.34, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 6
m_RootOrder: 7
--- !u!114 &2019116690
MonoBehaviour:
m_ObjectHideFlags: 2
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2019116667}
@ -1423,7 +1445,6 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
itemId: 7
errorMessage:
indentLevel: 0
_targetObject:
gameObjectRef: {fileID: 0}
@ -1448,7 +1469,7 @@ MonoBehaviour:
amountOLD: {x: 0, y: 0, z: 0}
--- !u!114 &2019116691
MonoBehaviour:
m_ObjectHideFlags: 2
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2019116667}
@ -1458,7 +1479,6 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
itemId: 8
errorMessage:
indentLevel: 0
_targetObject:
gameObjectRef: {fileID: 0}
@ -1483,7 +1503,7 @@ MonoBehaviour:
amountOLD: {x: 0, y: 0, z: 0}
--- !u!114 &2019116692
MonoBehaviour:
m_ObjectHideFlags: 2
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2019116667}
@ -1496,7 +1516,7 @@ MonoBehaviour:
clickableObject: {fileID: 1637100246}
--- !u!114 &2019116693
MonoBehaviour:
m_ObjectHideFlags: 2
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2019116667}
@ -1519,7 +1539,7 @@ MonoBehaviour:
- {fileID: 2019116688}
--- !u!114 &2019116694
MonoBehaviour:
m_ObjectHideFlags: 2
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2019116667}
@ -1542,7 +1562,7 @@ MonoBehaviour:
- {fileID: 2019116695}
--- !u!114 &2019116695
MonoBehaviour:
m_ObjectHideFlags: 2
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2019116667}
@ -1552,7 +1572,6 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
itemId: 12
errorMessage:
indentLevel: 0
_targetObject:
gameObjectRef: {fileID: 0}
@ -1572,11 +1591,11 @@ MonoBehaviour:
durationOLD: 0
_amount:
vector3Ref: {fileID: 0}
vector3Val: {x: .5, y: .5, z: 0}
vector3Val: {x: 0.5, y: 0.5, z: 0}
amountOLD: {x: 0, y: 0, z: 0}
--- !u!114 &2019116696
MonoBehaviour:
m_ObjectHideFlags: 2
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2019116667}
@ -1589,7 +1608,7 @@ MonoBehaviour:
clickableObject: {fileID: 591590529}
--- !u!114 &2019116697
MonoBehaviour:
m_ObjectHideFlags: 2
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2019116667}
@ -1599,13 +1618,12 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
itemId: 21
errorMessage:
indentLevel: 0
cursorTexture: {fileID: 2800000, guid: 502e0c9b755f34db0b90bf78857d8a1c, type: 3}
hotSpot: {x: 0, y: 0}
--- !u!114 &2019116698
MonoBehaviour:
m_ObjectHideFlags: 2
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2019116667}
@ -1628,7 +1646,7 @@ MonoBehaviour:
- {fileID: 2019116697}
--- !u!114 &2019116699
MonoBehaviour:
m_ObjectHideFlags: 2
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2019116667}
@ -1665,15 +1683,16 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 1966497754}
m_Father: {fileID: 19757137}
m_RootOrder: 1
m_AnchorMin: {x: .5, y: .5}
m_AnchorMax: {x: .5, y: .5}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -166, y: -157}
m_SizeDelta: {x: 185, y: 65}
m_Pivot: {x: .5, y: .5}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &2096462796
MonoBehaviour:
m_ObjectHideFlags: 0
@ -1694,11 +1713,11 @@ MonoBehaviour:
m_Transition: 1
m_Colors:
m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
m_HighlightedColor: {r: .960784316, g: .960784316, b: .960784316, a: 1}
m_PressedColor: {r: .784313738, g: .784313738, b: .784313738, a: 1}
m_DisabledColor: {r: .784313738, g: .784313738, b: .784313738, a: .501960814}
m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
m_ColorMultiplier: 1
m_FadeDuration: .100000001
m_FadeDuration: 0.1
m_SpriteState:
m_HighlightedSprite: {fileID: 0}
m_PressedSprite: {fileID: 0}
@ -1728,6 +1747,12 @@ MonoBehaviour:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0}
m_Type: 1
m_PreserveAspect: 0
@ -1781,6 +1806,10 @@ Prefab:
propertyPath: m_RootOrder
value: 2
objectReference: {fileID: 0}
- target: {fileID: 11400000, guid: 4d55f86cf3b124c8fb1158da26ffa96d, type: 2}
propertyPath: hoverCursor
value:
objectReference: {fileID: 2800000, guid: 22eb050bacf8c401ca8503e24bff3570, type: 3}
m_RemovedComponents: []
m_ParentPrefab: {fileID: 100100000, guid: 4d55f86cf3b124c8fb1158da26ffa96d, type: 2}
m_IsPrefabParent: 0

Loading…
Cancel
Save