Browse Source

Fixed DragAndDrop example

master
Christopher 8 years ago
parent
commit
037d0f1cd0
  1. 89
      Assets/FungusExamples/DragAndDrop/DragAndDrop.unity

89
Assets/FungusExamples/DragAndDrop/DragAndDrop.unity

@ -765,21 +765,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
@ -940,7 +925,6 @@ GameObject:
- 114: {fileID: 2019116683}
- 114: {fileID: 2019116680}
- 114: {fileID: 2019116669}
- 114: {fileID: 2019116670}
- 114: {fileID: 2019116677}
- 114: {fileID: 2019116676}
- 114: {fileID: 2019116675}
@ -995,7 +979,7 @@ MonoBehaviour:
y: -452
width: 1887
height: 1080
selectedBlock: {fileID: 2019116669}
selectedBlock: {fileID: 2019116698}
selectedCommands: []
variables: []
description: 'This scene shows how to set up a drag-and-drop
@ -1003,7 +987,7 @@ MonoBehaviour:
behavior and making objects clickable.'
stepPause: 0
colorCommands: 1
hideComponents: 0
hideComponents: 1
saveSelection: 1
localizationId:
showLineNumbers: 0
@ -1012,7 +996,7 @@ MonoBehaviour:
luaBindingName: flowchart
--- !u!114 &2019116669
MonoBehaviour:
m_ObjectHideFlags: 0
m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2019116667}
@ -1034,20 +1018,9 @@ MonoBehaviour:
commandList:
- {fileID: 2019116672}
- {fileID: 2019116671}
--- !u!114 &2019116670
MonoBehaviour:
m_ObjectHideFlags: 0
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:
--- !u!114 &2019116671
MonoBehaviour:
m_ObjectHideFlags: 0
m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2019116667}
@ -1080,7 +1053,7 @@ MonoBehaviour:
offsetOLD: {x: 0, y: 0, z: 0}
--- !u!114 &2019116672
MonoBehaviour:
m_ObjectHideFlags: 0
m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2019116667}
@ -1095,7 +1068,7 @@ MonoBehaviour:
commentText: Destroy the dragged object and scale up the target object
--- !u!114 &2019116673
MonoBehaviour:
m_ObjectHideFlags: 0
m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2019116667}
@ -1108,7 +1081,7 @@ MonoBehaviour:
draggableObject: {fileID: 1081858236}
--- !u!114 &2019116674
MonoBehaviour:
m_ObjectHideFlags: 0
m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2019116667}
@ -1123,7 +1096,7 @@ MonoBehaviour:
commentText: Decrease scale when drag is cancelled
--- !u!114 &2019116675
MonoBehaviour:
m_ObjectHideFlags: 0
m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2019116667}
@ -1138,7 +1111,7 @@ MonoBehaviour:
commentText: Increase scale when drag starts
--- !u!114 &2019116676
MonoBehaviour:
m_ObjectHideFlags: 0
m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2019116667}
@ -1171,7 +1144,7 @@ MonoBehaviour:
offsetOLD: {x: 0, y: 0, z: 0}
--- !u!114 &2019116677
MonoBehaviour:
m_ObjectHideFlags: 0
m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2019116667}
@ -1204,7 +1177,7 @@ MonoBehaviour:
offsetOLD: {x: 0, y: 0, z: 0}
--- !u!114 &2019116678
MonoBehaviour:
m_ObjectHideFlags: 0
m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2019116667}
@ -1217,7 +1190,7 @@ MonoBehaviour:
draggableObject: {fileID: 1081858236}
--- !u!114 &2019116679
MonoBehaviour:
m_ObjectHideFlags: 0
m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2019116667}
@ -1233,7 +1206,7 @@ MonoBehaviour:
target object.
--- !u!114 &2019116680
MonoBehaviour:
m_ObjectHideFlags: 0
m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2019116667}
@ -1257,7 +1230,7 @@ MonoBehaviour:
- {fileID: 2019116691}
--- !u!114 &2019116681
MonoBehaviour:
m_ObjectHideFlags: 0
m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2019116667}
@ -1271,7 +1244,7 @@ MonoBehaviour:
targetObject: {fileID: 606394392}
--- !u!114 &2019116682
MonoBehaviour:
m_ObjectHideFlags: 0
m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2019116667}
@ -1287,7 +1260,7 @@ MonoBehaviour:
the target object.
--- !u!114 &2019116683
MonoBehaviour:
m_ObjectHideFlags: 0
m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2019116667}
@ -1311,7 +1284,7 @@ MonoBehaviour:
- {fileID: 2019116690}
--- !u!114 &2019116684
MonoBehaviour:
m_ObjectHideFlags: 0
m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2019116667}
@ -1325,7 +1298,7 @@ MonoBehaviour:
targetObject: {fileID: 606394392}
--- !u!114 &2019116685
MonoBehaviour:
m_ObjectHideFlags: 0
m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2019116667}
@ -1349,7 +1322,7 @@ MonoBehaviour:
- {fileID: 2019116676}
--- !u!114 &2019116686
MonoBehaviour:
m_ObjectHideFlags: 0
m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2019116667}
@ -1363,7 +1336,7 @@ MonoBehaviour:
targetObject: {fileID: 606394392}
--- !u!114 &2019116687
MonoBehaviour:
m_ObjectHideFlags: 0
m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2019116667}
@ -1387,7 +1360,7 @@ MonoBehaviour:
- {fileID: 2019116677}
--- !u!114 &2019116688
MonoBehaviour:
m_ObjectHideFlags: 0
m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2019116667}
@ -1435,7 +1408,7 @@ Transform:
m_RootOrder: 7
--- !u!114 &2019116690
MonoBehaviour:
m_ObjectHideFlags: 0
m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2019116667}
@ -1469,7 +1442,7 @@ MonoBehaviour:
amountOLD: {x: 0, y: 0, z: 0}
--- !u!114 &2019116691
MonoBehaviour:
m_ObjectHideFlags: 0
m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2019116667}
@ -1503,7 +1476,7 @@ MonoBehaviour:
amountOLD: {x: 0, y: 0, z: 0}
--- !u!114 &2019116692
MonoBehaviour:
m_ObjectHideFlags: 0
m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2019116667}
@ -1516,7 +1489,7 @@ MonoBehaviour:
clickableObject: {fileID: 1637100246}
--- !u!114 &2019116693
MonoBehaviour:
m_ObjectHideFlags: 0
m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2019116667}
@ -1539,7 +1512,7 @@ MonoBehaviour:
- {fileID: 2019116688}
--- !u!114 &2019116694
MonoBehaviour:
m_ObjectHideFlags: 0
m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2019116667}
@ -1562,7 +1535,7 @@ MonoBehaviour:
- {fileID: 2019116695}
--- !u!114 &2019116695
MonoBehaviour:
m_ObjectHideFlags: 0
m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2019116667}
@ -1595,7 +1568,7 @@ MonoBehaviour:
amountOLD: {x: 0, y: 0, z: 0}
--- !u!114 &2019116696
MonoBehaviour:
m_ObjectHideFlags: 0
m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2019116667}
@ -1608,7 +1581,7 @@ MonoBehaviour:
clickableObject: {fileID: 591590529}
--- !u!114 &2019116697
MonoBehaviour:
m_ObjectHideFlags: 0
m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2019116667}
@ -1623,7 +1596,7 @@ MonoBehaviour:
hotSpot: {x: 0, y: 0}
--- !u!114 &2019116698
MonoBehaviour:
m_ObjectHideFlags: 0
m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2019116667}
@ -1646,7 +1619,7 @@ MonoBehaviour:
- {fileID: 2019116697}
--- !u!114 &2019116699
MonoBehaviour:
m_ObjectHideFlags: 0
m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2019116667}

Loading…
Cancel
Save