Integrated Simple Inventory asset with new changes
This commit is contained in:
parent
f5b3b8c71f
commit
1054674350
6
.vsconfig
Normal file
6
.vsconfig
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"version": "1.0",
|
||||||
|
"components": [
|
||||||
|
"Microsoft.VisualStudio.Workload.ManagedGame"
|
||||||
|
]
|
||||||
|
}
|
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 7ed5420d7678fe4479969b8e79d93c8e
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 966f087d5cf369a4c96575a74dab0902
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: e1d498a019740714c8734af8f4a0194b
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 4a0137a1f12c61249b2e156dc124a135
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@ -1,5 +1,5 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: 8f2173dd443b03944aaa1b7be6de86ce
|
guid: a695d6f6f1bd09943bc0b2b5877dd40f
|
||||||
NativeFormatImporter:
|
NativeFormatImporter:
|
||||||
userData:
|
userData:
|
||||||
assetBundleName:
|
assetBundleName:
|
||||||
|
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: b4313c97c87b0da42b32b9465a89e002
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 9b0c4bb5983488a438c06d5e35e09d2b
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: f0b4fd9f8be79d34ba1fb5abecbb4aca
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: d61d18c239646e24ea7563da992aedaf
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
51248
Assets/Scenes/Testing Arena (Tony Edit).unity
Normal file
51248
Assets/Scenes/Testing Arena (Tony Edit).unity
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,5 +1,5 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: 7032d000d3add4948ae9729fff4b493a
|
guid: afa060ca35ac42747ab86ac796bc608c
|
||||||
DefaultImporter:
|
DefaultImporter:
|
||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
userData:
|
userData:
|
430
Assets/SimpleInventorySystem/Prefabs/Ammo_Sniper.prefab
Normal file
430
Assets/SimpleInventorySystem/Prefabs/Ammo_Sniper.prefab
Normal file
@ -0,0 +1,430 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!1 &550437046999817640
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 4452643041444014421}
|
||||||
|
- component: {fileID: 3666967495694384907}
|
||||||
|
- component: {fileID: 4363942151758842939}
|
||||||
|
- component: {fileID: 3101231425657557894}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: Handler
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &4452643041444014421
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 550437046999817640}
|
||||||
|
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: 8715477176133586256}
|
||||||
|
m_Father: {fileID: 8715477175483360853}
|
||||||
|
m_RootOrder: 0
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0, y: 1}
|
||||||
|
m_AnchorMax: {x: 0, y: 1}
|
||||||
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
|
m_SizeDelta: {x: 75, y: 75}
|
||||||
|
m_Pivot: {x: 0, y: 1}
|
||||||
|
--- !u!222 &3666967495694384907
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 550437046999817640}
|
||||||
|
m_CullTransparentMesh: 0
|
||||||
|
--- !u!114 &4363942151758842939
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 550437046999817640}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_Sprite: {fileID: 0}
|
||||||
|
m_Type: 0
|
||||||
|
m_PreserveAspect: 0
|
||||||
|
m_FillCenter: 1
|
||||||
|
m_FillMethod: 4
|
||||||
|
m_FillAmount: 1
|
||||||
|
m_FillClockwise: 1
|
||||||
|
m_FillOrigin: 0
|
||||||
|
m_UseSpriteMesh: 0
|
||||||
|
m_PixelsPerUnitMultiplier: 1
|
||||||
|
--- !u!225 &3101231425657557894
|
||||||
|
CanvasGroup:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 550437046999817640}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_Alpha: 1
|
||||||
|
m_Interactable: 1
|
||||||
|
m_BlocksRaycasts: 1
|
||||||
|
m_IgnoreParentGroups: 0
|
||||||
|
--- !u!1 &4321940446056714985
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 9186848584043115896}
|
||||||
|
- component: {fileID: 1642224331523133374}
|
||||||
|
- component: {fileID: 3454501994249003185}
|
||||||
|
m_Layer: 0
|
||||||
|
m_Name: StackCount
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &9186848584043115896
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 4321940446056714985}
|
||||||
|
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: []
|
||||||
|
m_Father: {fileID: 8715477175483360853}
|
||||||
|
m_RootOrder: 1
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0, y: 0}
|
||||||
|
m_AnchorMax: {x: 1, y: 0}
|
||||||
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
|
m_SizeDelta: {x: 0, y: 50}
|
||||||
|
m_Pivot: {x: 1, y: 0}
|
||||||
|
--- !u!222 &1642224331523133374
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 4321940446056714985}
|
||||||
|
m_CullTransparentMesh: 0
|
||||||
|
--- !u!114 &3454501994249003185
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 4321940446056714985}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_text: 0
|
||||||
|
m_isRightToLeft: 0
|
||||||
|
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
|
||||||
|
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
|
||||||
|
m_fontSharedMaterials: []
|
||||||
|
m_fontMaterial: {fileID: 0}
|
||||||
|
m_fontMaterials: []
|
||||||
|
m_fontColor32:
|
||||||
|
serializedVersion: 2
|
||||||
|
rgba: 4278190080
|
||||||
|
m_fontColor: {r: 0, g: 0, b: 0, a: 1}
|
||||||
|
m_enableVertexGradient: 0
|
||||||
|
m_colorMode: 3
|
||||||
|
m_fontColorGradient:
|
||||||
|
topLeft: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
topRight: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
bottomLeft: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
bottomRight: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_fontColorGradientPreset: {fileID: 0}
|
||||||
|
m_spriteAsset: {fileID: 0}
|
||||||
|
m_tintAllSprites: 0
|
||||||
|
m_StyleSheet: {fileID: 0}
|
||||||
|
m_TextStyleHashCode: -1183493901
|
||||||
|
m_overrideHtmlColors: 0
|
||||||
|
m_faceColor:
|
||||||
|
serializedVersion: 2
|
||||||
|
rgba: 4294967295
|
||||||
|
m_fontSize: 12
|
||||||
|
m_fontSizeBase: 12
|
||||||
|
m_fontWeight: 400
|
||||||
|
m_enableAutoSizing: 0
|
||||||
|
m_fontSizeMin: 18
|
||||||
|
m_fontSizeMax: 72
|
||||||
|
m_fontStyle: 0
|
||||||
|
m_HorizontalAlignment: 4
|
||||||
|
m_VerticalAlignment: 1024
|
||||||
|
m_textAlignment: 65535
|
||||||
|
m_characterSpacing: 0
|
||||||
|
m_wordSpacing: 0
|
||||||
|
m_lineSpacing: 0
|
||||||
|
m_lineSpacingMax: 0
|
||||||
|
m_paragraphSpacing: 0
|
||||||
|
m_charWidthMaxAdj: 0
|
||||||
|
m_enableWordWrapping: 1
|
||||||
|
m_wordWrappingRatios: 0.4
|
||||||
|
m_overflowMode: 0
|
||||||
|
m_linkedTextComponent: {fileID: 0}
|
||||||
|
parentLinkedComponent: {fileID: 0}
|
||||||
|
m_enableKerning: 1
|
||||||
|
m_enableExtraPadding: 0
|
||||||
|
checkPaddingRequired: 0
|
||||||
|
m_isRichText: 1
|
||||||
|
m_parseCtrlCharacters: 1
|
||||||
|
m_isOrthographic: 1
|
||||||
|
m_isCullingEnabled: 0
|
||||||
|
m_horizontalMapping: 0
|
||||||
|
m_verticalMapping: 0
|
||||||
|
m_uvLineOffset: 0
|
||||||
|
m_geometrySortingOrder: 0
|
||||||
|
m_IsTextObjectScaleStatic: 0
|
||||||
|
m_VertexBufferAutoSizeReduction: 1
|
||||||
|
m_useMaxVisibleDescender: 1
|
||||||
|
m_pageToDisplay: 1
|
||||||
|
m_margin: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
m_isUsingLegacyAnimationComponent: 0
|
||||||
|
m_isVolumetricText: 0
|
||||||
|
m_hasFontAssetChanged: 0
|
||||||
|
m_baseMaterial: {fileID: 0}
|
||||||
|
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
--- !u!1 &8715477175483360852
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 8715477175483360853}
|
||||||
|
- component: {fileID: 8715477175483360842}
|
||||||
|
- component: {fileID: 8715477175483360843}
|
||||||
|
- component: {fileID: 47521878755422833}
|
||||||
|
- component: {fileID: 2245991356252128075}
|
||||||
|
- component: {fileID: 1757931787482431273}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: Ammo_Sniper
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &8715477175483360853
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 8715477175483360852}
|
||||||
|
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: 4452643041444014421}
|
||||||
|
- {fileID: 9186848584043115896}
|
||||||
|
m_Father: {fileID: 0}
|
||||||
|
m_RootOrder: 0
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0, y: 1}
|
||||||
|
m_AnchorMax: {x: 0, y: 1}
|
||||||
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
|
m_SizeDelta: {x: 75, y: 75}
|
||||||
|
m_Pivot: {x: 0, y: 1}
|
||||||
|
--- !u!114 &8715477175483360842
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 8715477175483360852}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: cc11508cb979f8b4b8253855ce8a0bc5, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
canvas: {fileID: 0}
|
||||||
|
width: 1
|
||||||
|
height: 1
|
||||||
|
ItemTag: 0
|
||||||
|
ContainedItems: []
|
||||||
|
ParentContainer: {fileID: 0}
|
||||||
|
container: {fileID: 0}
|
||||||
|
containerUIPrefab: {fileID: 0}
|
||||||
|
itemPrefab: {fileID: 0}
|
||||||
|
Equipped: 0
|
||||||
|
StackLimit: 60
|
||||||
|
PickedUpOnFrame: 0
|
||||||
|
ContextWindows: []
|
||||||
|
IsLinkedSlotClone: 0
|
||||||
|
limitStackSlotCapacity: {fileID: 0}
|
||||||
|
pickUp: {fileID: 0}
|
||||||
|
--- !u!225 &8715477175483360843
|
||||||
|
CanvasGroup:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 8715477175483360852}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_Alpha: 1
|
||||||
|
m_Interactable: 1
|
||||||
|
m_BlocksRaycasts: 1
|
||||||
|
m_IgnoreParentGroups: 0
|
||||||
|
--- !u!222 &47521878755422833
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 8715477175483360852}
|
||||||
|
m_CullTransparentMesh: 0
|
||||||
|
--- !u!114 &2245991356252128075
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 8715477175483360852}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 1, g: 0.124526225, b: 0, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_Sprite: {fileID: 0}
|
||||||
|
m_Type: 0
|
||||||
|
m_PreserveAspect: 0
|
||||||
|
m_FillCenter: 1
|
||||||
|
m_FillMethod: 4
|
||||||
|
m_FillAmount: 1
|
||||||
|
m_FillClockwise: 1
|
||||||
|
m_FillOrigin: 0
|
||||||
|
m_UseSpriteMesh: 0
|
||||||
|
m_PixelsPerUnitMultiplier: 1
|
||||||
|
--- !u!114 &1757931787482431273
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 8715477175483360852}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: ec4b16f08baaf5648a7e5ebe9e562069, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
textMeshProUGUI: {fileID: 3454501994249003185}
|
||||||
|
value:
|
||||||
|
--- !u!1 &8715477176133586259
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 8715477176133586256}
|
||||||
|
- component: {fileID: 8715477176133586262}
|
||||||
|
- component: {fileID: 8715477176133586257}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: Image
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &8715477176133586256
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 8715477176133586259}
|
||||||
|
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: []
|
||||||
|
m_Father: {fileID: 4452643041444014421}
|
||||||
|
m_RootOrder: 0
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, 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: 75, y: 75}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!222 &8715477176133586262
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 8715477176133586259}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!114 &8715477176133586257
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 8715477176133586259}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_Sprite: {fileID: 21300000, guid: 6e219254912cb034bbfc9a78cee35a69, type: 3}
|
||||||
|
m_Type: 0
|
||||||
|
m_PreserveAspect: 1
|
||||||
|
m_FillCenter: 1
|
||||||
|
m_FillMethod: 4
|
||||||
|
m_FillAmount: 1
|
||||||
|
m_FillClockwise: 1
|
||||||
|
m_FillOrigin: 0
|
||||||
|
m_UseSpriteMesh: 0
|
||||||
|
m_PixelsPerUnitMultiplier: 1
|
@ -1,6 +1,6 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: 9bd692981c3b41e4e9c65dd7cdb03cb8
|
guid: d2637852a8cec394d83b78963d117fff
|
||||||
DefaultImporter:
|
PrefabImporter:
|
||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
userData:
|
userData:
|
||||||
assetBundleName:
|
assetBundleName:
|
@ -1,80 +1,5 @@
|
|||||||
%YAML 1.1
|
%YAML 1.1
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
--- !u!1 &550437046999817640
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
serializedVersion: 6
|
|
||||||
m_Component:
|
|
||||||
- component: {fileID: 4452643041444014421}
|
|
||||||
- component: {fileID: 3666967495694384907}
|
|
||||||
- component: {fileID: 4363942151758842939}
|
|
||||||
m_Layer: 5
|
|
||||||
m_Name: Handler
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!224 &4452643041444014421
|
|
||||||
RectTransform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 550437046999817640}
|
|
||||||
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: 8715477176133586256}
|
|
||||||
m_Father: {fileID: 8715477175483360853}
|
|
||||||
m_RootOrder: 0
|
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
||||||
m_AnchorMin: {x: 0, y: 1}
|
|
||||||
m_AnchorMax: {x: 0, y: 1}
|
|
||||||
m_AnchoredPosition: {x: 0, y: 0}
|
|
||||||
m_SizeDelta: {x: 100, y: 100}
|
|
||||||
m_Pivot: {x: 0, y: 1}
|
|
||||||
--- !u!222 &3666967495694384907
|
|
||||||
CanvasRenderer:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 550437046999817640}
|
|
||||||
m_CullTransparentMesh: 0
|
|
||||||
--- !u!114 &4363942151758842939
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 550437046999817640}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_Material: {fileID: 0}
|
|
||||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
|
||||||
m_RaycastTarget: 1
|
|
||||||
m_Maskable: 1
|
|
||||||
m_OnCullStateChanged:
|
|
||||||
m_PersistentCalls:
|
|
||||||
m_Calls: []
|
|
||||||
m_Sprite: {fileID: 0}
|
|
||||||
m_Type: 0
|
|
||||||
m_PreserveAspect: 0
|
|
||||||
m_FillCenter: 1
|
|
||||||
m_FillMethod: 4
|
|
||||||
m_FillAmount: 1
|
|
||||||
m_FillClockwise: 1
|
|
||||||
m_FillOrigin: 0
|
|
||||||
m_UseSpriteMesh: 0
|
|
||||||
m_PixelsPerUnitMultiplier: 1
|
|
||||||
--- !u!1 &8715477175483360852
|
--- !u!1 &8715477175483360852
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@ -106,14 +31,14 @@ RectTransform:
|
|||||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
m_Children:
|
m_Children:
|
||||||
- {fileID: 4452643041444014421}
|
- {fileID: 8715477176133586256}
|
||||||
m_Father: {fileID: 0}
|
m_Father: {fileID: 0}
|
||||||
m_RootOrder: 0
|
m_RootOrder: 0
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0, y: 1}
|
m_AnchorMin: {x: 0, y: 1}
|
||||||
m_AnchorMax: {x: 0, y: 1}
|
m_AnchorMax: {x: 0, y: 1}
|
||||||
m_AnchoredPosition: {x: 0, y: 0}
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
m_SizeDelta: {x: 100, y: 100}
|
m_SizeDelta: {x: 375, y: 600}
|
||||||
m_Pivot: {x: 0, y: 1}
|
m_Pivot: {x: 0, y: 1}
|
||||||
--- !u!114 &8715477175483360842
|
--- !u!114 &8715477175483360842
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
@ -127,14 +52,25 @@ MonoBehaviour:
|
|||||||
m_Script: {fileID: 11500000, guid: cc11508cb979f8b4b8253855ce8a0bc5, type: 3}
|
m_Script: {fileID: 11500000, guid: cc11508cb979f8b4b8253855ce8a0bc5, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
|
image: {fileID: 8715477176133586257}
|
||||||
canvas: {fileID: 0}
|
canvas: {fileID: 0}
|
||||||
width: 2
|
width: 5
|
||||||
height: 2
|
height: 8
|
||||||
ItemTag: 12
|
ItemTag: 12
|
||||||
ContainedItems: []
|
ContainedItems: []
|
||||||
|
ParentContainer: {fileID: 0}
|
||||||
|
container: {fileID: 0}
|
||||||
containerUIPrefab: {fileID: 4961555904879958529, guid: 987b89044d2df3745976dfdf8bfb319f,
|
containerUIPrefab: {fileID: 4961555904879958529, guid: 987b89044d2df3745976dfdf8bfb319f,
|
||||||
type: 3}
|
type: 3}
|
||||||
itemPrefab: {fileID: 0}
|
itemPrefab: {fileID: 0}
|
||||||
|
Equipped: 0
|
||||||
|
StackLimit: 1
|
||||||
|
PickedUpOnFrame: 0
|
||||||
|
ContextWindows: []
|
||||||
|
IsLinkedSlotClone: 0
|
||||||
|
limitStackSlotCapacity: {fileID: 0}
|
||||||
|
pickUp: {fileID: 0}
|
||||||
|
targetAttachment: {fileID: 0}
|
||||||
--- !u!225 &8715477175483360843
|
--- !u!225 &8715477175483360843
|
||||||
CanvasGroup:
|
CanvasGroup:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@ -145,7 +81,7 @@ CanvasGroup:
|
|||||||
m_Enabled: 1
|
m_Enabled: 1
|
||||||
m_Alpha: 1
|
m_Alpha: 1
|
||||||
m_Interactable: 1
|
m_Interactable: 1
|
||||||
m_BlocksRaycasts: 1
|
m_BlocksRaycasts: 0
|
||||||
m_IgnoreParentGroups: 0
|
m_IgnoreParentGroups: 0
|
||||||
--- !u!222 &47521878755422833
|
--- !u!222 &47521878755422833
|
||||||
CanvasRenderer:
|
CanvasRenderer:
|
||||||
@ -176,7 +112,7 @@ MonoBehaviour:
|
|||||||
m_Calls: []
|
m_Calls: []
|
||||||
m_Sprite: {fileID: 0}
|
m_Sprite: {fileID: 0}
|
||||||
m_Type: 0
|
m_Type: 0
|
||||||
m_PreserveAspect: 0
|
m_PreserveAspect: 1
|
||||||
m_FillCenter: 1
|
m_FillCenter: 1
|
||||||
m_FillMethod: 4
|
m_FillMethod: 4
|
||||||
m_FillAmount: 1
|
m_FillAmount: 1
|
||||||
@ -213,13 +149,13 @@ RectTransform:
|
|||||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
m_Children: []
|
m_Children: []
|
||||||
m_Father: {fileID: 4452643041444014421}
|
m_Father: {fileID: 8715477175483360853}
|
||||||
m_RootOrder: 0
|
m_RootOrder: 0
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
m_AnchoredPosition: {x: 0, y: 0}
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
m_SizeDelta: {x: 100, y: 100.000015}
|
m_SizeDelta: {x: 375, y: 600}
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
--- !u!222 &8715477176133586262
|
--- !u!222 &8715477176133586262
|
||||||
CanvasRenderer:
|
CanvasRenderer:
|
||||||
|
@ -36,7 +36,7 @@ RectTransform:
|
|||||||
m_AnchorMin: {x: 0, y: 1}
|
m_AnchorMin: {x: 0, y: 1}
|
||||||
m_AnchorMax: {x: 0, y: 1}
|
m_AnchorMax: {x: 0, y: 1}
|
||||||
m_AnchoredPosition: {x: 0, y: 0}
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
m_SizeDelta: {x: 100, y: 100}
|
m_SizeDelta: {x: 150, y: 150}
|
||||||
m_Pivot: {x: 0, y: 1}
|
m_Pivot: {x: 0, y: 1}
|
||||||
--- !u!222 &3666967495694384907
|
--- !u!222 &3666967495694384907
|
||||||
CanvasRenderer:
|
CanvasRenderer:
|
||||||
@ -113,7 +113,7 @@ RectTransform:
|
|||||||
m_AnchorMin: {x: 0, y: 1}
|
m_AnchorMin: {x: 0, y: 1}
|
||||||
m_AnchorMax: {x: 0, y: 1}
|
m_AnchorMax: {x: 0, y: 1}
|
||||||
m_AnchoredPosition: {x: 0, y: 0}
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
m_SizeDelta: {x: 100, y: 100}
|
m_SizeDelta: {x: 150, y: 150}
|
||||||
m_Pivot: {x: 0, y: 1}
|
m_Pivot: {x: 0, y: 1}
|
||||||
--- !u!114 &8715477175483360842
|
--- !u!114 &8715477175483360842
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
@ -132,11 +132,17 @@ MonoBehaviour:
|
|||||||
height: 2
|
height: 2
|
||||||
ItemTag: 14
|
ItemTag: 14
|
||||||
ContainedItems: []
|
ContainedItems: []
|
||||||
|
ParentContainer: {fileID: 0}
|
||||||
container: {fileID: 0}
|
container: {fileID: 0}
|
||||||
containerUIPrefab: {fileID: 0}
|
containerUIPrefab: {fileID: 0}
|
||||||
itemPrefab: {fileID: 7566131893540485068, guid: 3f7bb029d66a5fe49b9595fea36eef06,
|
itemPrefab: {fileID: 7566131893540485068, guid: 3f7bb029d66a5fe49b9595fea36eef06,
|
||||||
type: 3}
|
type: 3}
|
||||||
|
Equipped: 0
|
||||||
StackLimit: 1
|
StackLimit: 1
|
||||||
|
PickedUpOnFrame: 0
|
||||||
|
ContextWindows: []
|
||||||
|
IsLinkedSlotClone: 0
|
||||||
|
limitStackSlotCapacity: {fileID: 0}
|
||||||
--- !u!225 &8715477175483360843
|
--- !u!225 &8715477175483360843
|
||||||
CanvasGroup:
|
CanvasGroup:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@ -221,7 +227,7 @@ RectTransform:
|
|||||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
m_AnchoredPosition: {x: 0, y: 0}
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
m_SizeDelta: {x: 100, y: 100.000015}
|
m_SizeDelta: {x: 150, y: 150}
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
--- !u!222 &8715477176133586262
|
--- !u!222 &8715477176133586262
|
||||||
CanvasRenderer:
|
CanvasRenderer:
|
||||||
|
@ -33,10 +33,10 @@ RectTransform:
|
|||||||
m_Father: {fileID: 8715477175483360853}
|
m_Father: {fileID: 8715477175483360853}
|
||||||
m_RootOrder: 0
|
m_RootOrder: 0
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0, y: 1}
|
m_AnchorMin: {x: 0, y: 0}
|
||||||
m_AnchorMax: {x: 0, y: 1}
|
m_AnchorMax: {x: 1, y: 1}
|
||||||
m_AnchoredPosition: {x: 0, y: 0}
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
m_SizeDelta: {x: 100, y: 100}
|
m_SizeDelta: {x: 0, y: 0}
|
||||||
m_Pivot: {x: 0, y: 1}
|
m_Pivot: {x: 0, y: 1}
|
||||||
--- !u!222 &3666967495694384907
|
--- !u!222 &3666967495694384907
|
||||||
CanvasRenderer:
|
CanvasRenderer:
|
||||||
@ -59,7 +59,7 @@ MonoBehaviour:
|
|||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
m_Material: {fileID: 0}
|
m_Material: {fileID: 0}
|
||||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
m_Color: {r: 1, g: 1, b: 1, a: 0}
|
||||||
m_RaycastTarget: 1
|
m_RaycastTarget: 1
|
||||||
m_Maskable: 1
|
m_Maskable: 1
|
||||||
m_OnCullStateChanged:
|
m_OnCullStateChanged:
|
||||||
@ -113,7 +113,7 @@ RectTransform:
|
|||||||
m_AnchorMin: {x: 0, y: 1}
|
m_AnchorMin: {x: 0, y: 1}
|
||||||
m_AnchorMax: {x: 0, y: 1}
|
m_AnchorMax: {x: 0, y: 1}
|
||||||
m_AnchoredPosition: {x: 0, y: 0}
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
m_SizeDelta: {x: 100, y: 100}
|
m_SizeDelta: {x: 150, y: 150}
|
||||||
m_Pivot: {x: 0, y: 1}
|
m_Pivot: {x: 0, y: 1}
|
||||||
--- !u!114 &8715477175483360842
|
--- !u!114 &8715477175483360842
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
@ -132,10 +132,16 @@ MonoBehaviour:
|
|||||||
height: 2
|
height: 2
|
||||||
ItemTag: 1
|
ItemTag: 1
|
||||||
ContainedItems: []
|
ContainedItems: []
|
||||||
containerSize:
|
ParentContainer: {fileID: 0}
|
||||||
Width: 0
|
container: {fileID: 0}
|
||||||
Height: 0
|
containerUIPrefab: {fileID: 0}
|
||||||
itemPrefab: {fileID: 0}
|
itemPrefab: {fileID: 0}
|
||||||
|
Equipped: 0
|
||||||
|
StackLimit: 1
|
||||||
|
PickedUpOnFrame: 0
|
||||||
|
ContextWindows: []
|
||||||
|
IsLinkedSlotClone: 0
|
||||||
|
limitStackSlotCapacity: {fileID: 0}
|
||||||
--- !u!225 &8715477175483360843
|
--- !u!225 &8715477175483360843
|
||||||
CanvasGroup:
|
CanvasGroup:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@ -169,7 +175,7 @@ MonoBehaviour:
|
|||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
m_Material: {fileID: 0}
|
m_Material: {fileID: 0}
|
||||||
m_Color: {r: 1, g: 0.124526225, b: 0, a: 1}
|
m_Color: {r: 0.8773585, g: 0, b: 0, a: 1}
|
||||||
m_RaycastTarget: 1
|
m_RaycastTarget: 1
|
||||||
m_Maskable: 1
|
m_Maskable: 1
|
||||||
m_OnCullStateChanged:
|
m_OnCullStateChanged:
|
||||||
@ -217,10 +223,10 @@ RectTransform:
|
|||||||
m_Father: {fileID: 4452643041444014421}
|
m_Father: {fileID: 4452643041444014421}
|
||||||
m_RootOrder: 0
|
m_RootOrder: 0
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
m_AnchorMin: {x: 0, y: 0}
|
||||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
m_AnchorMax: {x: 1, y: 1}
|
||||||
m_AnchoredPosition: {x: 0, y: 0}
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
m_SizeDelta: {x: 100, y: 100.000015}
|
m_SizeDelta: {x: 0, y: 0}
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
--- !u!222 &8715477176133586262
|
--- !u!222 &8715477176133586262
|
||||||
CanvasRenderer:
|
CanvasRenderer:
|
||||||
|
270
Assets/SimpleInventorySystem/Prefabs/Plate Carrier.prefab
Normal file
270
Assets/SimpleInventorySystem/Prefabs/Plate Carrier.prefab
Normal file
@ -0,0 +1,270 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!1 &550437046999817640
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 4452643041444014421}
|
||||||
|
- component: {fileID: 3666967495694384907}
|
||||||
|
- component: {fileID: 4363942151758842939}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: Handler
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &4452643041444014421
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 550437046999817640}
|
||||||
|
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: 8715477176133586256}
|
||||||
|
m_Father: {fileID: 8715477175483360853}
|
||||||
|
m_RootOrder: 0
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0, y: 1}
|
||||||
|
m_AnchorMax: {x: 0, y: 1}
|
||||||
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
|
m_SizeDelta: {x: 150, y: 150}
|
||||||
|
m_Pivot: {x: 0, y: 1}
|
||||||
|
--- !u!222 &3666967495694384907
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 550437046999817640}
|
||||||
|
m_CullTransparentMesh: 0
|
||||||
|
--- !u!114 &4363942151758842939
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 550437046999817640}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 0.8867924, g: 0.71877325, b: 0.5981666, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_Sprite: {fileID: 0}
|
||||||
|
m_Type: 0
|
||||||
|
m_PreserveAspect: 0
|
||||||
|
m_FillCenter: 1
|
||||||
|
m_FillMethod: 4
|
||||||
|
m_FillAmount: 1
|
||||||
|
m_FillClockwise: 1
|
||||||
|
m_FillOrigin: 0
|
||||||
|
m_UseSpriteMesh: 0
|
||||||
|
m_PixelsPerUnitMultiplier: 1
|
||||||
|
--- !u!1 &8715477175483360852
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 8715477175483360853}
|
||||||
|
- component: {fileID: 8715477175483360842}
|
||||||
|
- component: {fileID: 8715477175483360843}
|
||||||
|
- component: {fileID: 47521878755422833}
|
||||||
|
- component: {fileID: 2245991356252128075}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: Plate Carrier
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &8715477175483360853
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 8715477175483360852}
|
||||||
|
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: 4452643041444014421}
|
||||||
|
m_Father: {fileID: 0}
|
||||||
|
m_RootOrder: 0
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0, y: 1}
|
||||||
|
m_AnchorMax: {x: 0, y: 1}
|
||||||
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
|
m_SizeDelta: {x: 150, y: 150}
|
||||||
|
m_Pivot: {x: 0, y: 1}
|
||||||
|
--- !u!114 &8715477175483360842
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 8715477175483360852}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: cc11508cb979f8b4b8253855ce8a0bc5, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
canvas: {fileID: 0}
|
||||||
|
width: 2
|
||||||
|
height: 2
|
||||||
|
ItemTag: 18
|
||||||
|
ContainedItems: []
|
||||||
|
ParentContainer: {fileID: 0}
|
||||||
|
container: {fileID: 0}
|
||||||
|
containerUIPrefab: {fileID: 8693914790612862727, guid: 4388120732ddcf44e90443329e307ef2,
|
||||||
|
type: 3}
|
||||||
|
itemPrefab: {fileID: 7566131893540485068, guid: 3f7bb029d66a5fe49b9595fea36eef06,
|
||||||
|
type: 3}
|
||||||
|
Equipped: 0
|
||||||
|
StackLimit: 1
|
||||||
|
PickedUpOnFrame: 0
|
||||||
|
ContextWindows: []
|
||||||
|
IsLinkedSlotClone: 0
|
||||||
|
limitStackSlotCapacity: {fileID: 0}
|
||||||
|
pickUp: {fileID: 0}
|
||||||
|
--- !u!225 &8715477175483360843
|
||||||
|
CanvasGroup:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 8715477175483360852}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_Alpha: 1
|
||||||
|
m_Interactable: 1
|
||||||
|
m_BlocksRaycasts: 1
|
||||||
|
m_IgnoreParentGroups: 0
|
||||||
|
--- !u!222 &47521878755422833
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 8715477175483360852}
|
||||||
|
m_CullTransparentMesh: 0
|
||||||
|
--- !u!114 &2245991356252128075
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 8715477175483360852}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 1, g: 0.124526225, b: 0, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_Sprite: {fileID: 0}
|
||||||
|
m_Type: 0
|
||||||
|
m_PreserveAspect: 0
|
||||||
|
m_FillCenter: 1
|
||||||
|
m_FillMethod: 4
|
||||||
|
m_FillAmount: 1
|
||||||
|
m_FillClockwise: 1
|
||||||
|
m_FillOrigin: 0
|
||||||
|
m_UseSpriteMesh: 0
|
||||||
|
m_PixelsPerUnitMultiplier: 1
|
||||||
|
--- !u!1 &8715477176133586259
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 8715477176133586256}
|
||||||
|
- component: {fileID: 8715477176133586262}
|
||||||
|
- component: {fileID: 8715477176133586257}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: Image
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &8715477176133586256
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 8715477176133586259}
|
||||||
|
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: []
|
||||||
|
m_Father: {fileID: 4452643041444014421}
|
||||||
|
m_RootOrder: 0
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, 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: 150, y: 150}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!222 &8715477176133586262
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 8715477176133586259}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!114 &8715477176133586257
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 8715477176133586259}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_Sprite: {fileID: 21300000, guid: cac2d28d597e881469ecdbf8399ef344, type: 3}
|
||||||
|
m_Type: 0
|
||||||
|
m_PreserveAspect: 1
|
||||||
|
m_FillCenter: 1
|
||||||
|
m_FillMethod: 4
|
||||||
|
m_FillAmount: 1
|
||||||
|
m_FillClockwise: 1
|
||||||
|
m_FillOrigin: 0
|
||||||
|
m_UseSpriteMesh: 0
|
||||||
|
m_PixelsPerUnitMultiplier: 1
|
@ -1,7 +1,6 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: b5400487aa01ac143bc9efa53dce97c5
|
guid: 4f670aa1131c2cb4cb667b0572dd9213
|
||||||
folderAsset: yes
|
PrefabImporter:
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
userData:
|
userData:
|
||||||
assetBundleName:
|
assetBundleName:
|
@ -1,93 +1,5 @@
|
|||||||
%YAML 1.1
|
%YAML 1.1
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
--- !u!1 &550437046999817640
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
serializedVersion: 6
|
|
||||||
m_Component:
|
|
||||||
- component: {fileID: 4452643041444014421}
|
|
||||||
- component: {fileID: 3666967495694384907}
|
|
||||||
- component: {fileID: 4363942151758842939}
|
|
||||||
- component: {fileID: 3101231425657557894}
|
|
||||||
m_Layer: 5
|
|
||||||
m_Name: Handler
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!224 &4452643041444014421
|
|
||||||
RectTransform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 550437046999817640}
|
|
||||||
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: 8715477176133586256}
|
|
||||||
m_Father: {fileID: 8715477175483360853}
|
|
||||||
m_RootOrder: 0
|
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
||||||
m_AnchorMin: {x: 0, y: 1}
|
|
||||||
m_AnchorMax: {x: 0, y: 1}
|
|
||||||
m_AnchoredPosition: {x: 0, y: 0}
|
|
||||||
m_SizeDelta: {x: 50, y: 100}
|
|
||||||
m_Pivot: {x: 0, y: 1}
|
|
||||||
--- !u!222 &3666967495694384907
|
|
||||||
CanvasRenderer:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 550437046999817640}
|
|
||||||
m_CullTransparentMesh: 0
|
|
||||||
--- !u!114 &4363942151758842939
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 550437046999817640}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_Material: {fileID: 0}
|
|
||||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
|
||||||
m_RaycastTarget: 1
|
|
||||||
m_Maskable: 1
|
|
||||||
m_OnCullStateChanged:
|
|
||||||
m_PersistentCalls:
|
|
||||||
m_Calls: []
|
|
||||||
m_Sprite: {fileID: 0}
|
|
||||||
m_Type: 0
|
|
||||||
m_PreserveAspect: 0
|
|
||||||
m_FillCenter: 1
|
|
||||||
m_FillMethod: 4
|
|
||||||
m_FillAmount: 1
|
|
||||||
m_FillClockwise: 1
|
|
||||||
m_FillOrigin: 0
|
|
||||||
m_UseSpriteMesh: 0
|
|
||||||
m_PixelsPerUnitMultiplier: 1
|
|
||||||
--- !u!225 &3101231425657557894
|
|
||||||
CanvasGroup:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 550437046999817640}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_Alpha: 1
|
|
||||||
m_Interactable: 1
|
|
||||||
m_BlocksRaycasts: 1
|
|
||||||
m_IgnoreParentGroups: 0
|
|
||||||
--- !u!1 &4321940446056714985
|
--- !u!1 &4321940446056714985
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@ -252,7 +164,7 @@ RectTransform:
|
|||||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
m_Children:
|
m_Children:
|
||||||
- {fileID: 4452643041444014421}
|
- {fileID: 8715477176133586256}
|
||||||
- {fileID: 9186848584043115896}
|
- {fileID: 9186848584043115896}
|
||||||
m_Father: {fileID: 0}
|
m_Father: {fileID: 0}
|
||||||
m_RootOrder: 0
|
m_RootOrder: 0
|
||||||
@ -260,7 +172,7 @@ RectTransform:
|
|||||||
m_AnchorMin: {x: 0, y: 1}
|
m_AnchorMin: {x: 0, y: 1}
|
||||||
m_AnchorMax: {x: 0, y: 1}
|
m_AnchorMax: {x: 0, y: 1}
|
||||||
m_AnchoredPosition: {x: 0, y: 0}
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
m_SizeDelta: {x: 50, y: 100}
|
m_SizeDelta: {x: 75, y: 150}
|
||||||
m_Pivot: {x: 0, y: 1}
|
m_Pivot: {x: 0, y: 1}
|
||||||
--- !u!114 &8715477175483360842
|
--- !u!114 &8715477175483360842
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
@ -274,13 +186,15 @@ MonoBehaviour:
|
|||||||
m_Script: {fileID: 11500000, guid: cc11508cb979f8b4b8253855ce8a0bc5, type: 3}
|
m_Script: {fileID: 11500000, guid: cc11508cb979f8b4b8253855ce8a0bc5, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
|
image: {fileID: 0}
|
||||||
canvas: {fileID: 0}
|
canvas: {fileID: 0}
|
||||||
width: 1
|
width: 1
|
||||||
height: 2
|
height: 2
|
||||||
ItemTag: 14
|
ItemTag: 14
|
||||||
ContainedItems: []
|
ContainedItems: []
|
||||||
|
ParentContainer: {fileID: 0}
|
||||||
container: {fileID: 0}
|
container: {fileID: 0}
|
||||||
containerUIPrefab: {fileID: 4961555904879958529, guid: 03beb670a2a3a5348ba54332bde80743,
|
containerUIPrefab: {fileID: 4961555904879958529, guid: f67359f74b4cfa049a5ef8ae707825fa,
|
||||||
type: 3}
|
type: 3}
|
||||||
itemPrefab: {fileID: 0}
|
itemPrefab: {fileID: 0}
|
||||||
Equipped: 0
|
Equipped: 0
|
||||||
@ -288,7 +202,9 @@ MonoBehaviour:
|
|||||||
PickedUpOnFrame: 0
|
PickedUpOnFrame: 0
|
||||||
ContextWindows: []
|
ContextWindows: []
|
||||||
IsLinkedSlotClone: 0
|
IsLinkedSlotClone: 0
|
||||||
PointerIsHoveredOver: 0
|
limitStackSlotCapacity: {fileID: 0}
|
||||||
|
pickUp: {fileID: 0}
|
||||||
|
targetAttachment: {fileID: 0}
|
||||||
--- !u!225 &8715477175483360843
|
--- !u!225 &8715477175483360843
|
||||||
CanvasGroup:
|
CanvasGroup:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@ -367,13 +283,13 @@ RectTransform:
|
|||||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
m_Children: []
|
m_Children: []
|
||||||
m_Father: {fileID: 4452643041444014421}
|
m_Father: {fileID: 8715477175483360853}
|
||||||
m_RootOrder: 0
|
m_RootOrder: 0
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
m_AnchoredPosition: {x: 0, y: 0}
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
m_SizeDelta: {x: 50, y: 50}
|
m_SizeDelta: {x: 75, y: 150}
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
--- !u!222 &8715477176133586262
|
--- !u!222 &8715477176133586262
|
||||||
CanvasRenderer:
|
CanvasRenderer:
|
||||||
|
@ -36,7 +36,7 @@ RectTransform:
|
|||||||
m_AnchorMin: {x: 0, y: 1}
|
m_AnchorMin: {x: 0, y: 1}
|
||||||
m_AnchorMax: {x: 0, y: 1}
|
m_AnchorMax: {x: 0, y: 1}
|
||||||
m_AnchoredPosition: {x: 0, y: 0}
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
m_SizeDelta: {x: 200, y: 100}
|
m_SizeDelta: {x: 300, y: 150}
|
||||||
m_Pivot: {x: 0, y: 1}
|
m_Pivot: {x: 0, y: 1}
|
||||||
--- !u!222 &3666967495694384907
|
--- !u!222 &3666967495694384907
|
||||||
CanvasRenderer:
|
CanvasRenderer:
|
||||||
@ -113,7 +113,7 @@ RectTransform:
|
|||||||
m_AnchorMin: {x: 0, y: 1}
|
m_AnchorMin: {x: 0, y: 1}
|
||||||
m_AnchorMax: {x: 0, y: 1}
|
m_AnchorMax: {x: 0, y: 1}
|
||||||
m_AnchoredPosition: {x: 0, y: 0}
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
m_SizeDelta: {x: 50, y: 50}
|
m_SizeDelta: {x: 300, y: 150}
|
||||||
m_Pivot: {x: 0, y: 1}
|
m_Pivot: {x: 0, y: 1}
|
||||||
--- !u!114 &8715477175483360842
|
--- !u!114 &8715477175483360842
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
@ -131,6 +131,17 @@ MonoBehaviour:
|
|||||||
width: 4
|
width: 4
|
||||||
height: 2
|
height: 2
|
||||||
ItemTag: 6
|
ItemTag: 6
|
||||||
|
ContainedItems: []
|
||||||
|
ParentContainer: {fileID: 0}
|
||||||
|
container: {fileID: 0}
|
||||||
|
containerUIPrefab: {fileID: 0}
|
||||||
|
itemPrefab: {fileID: 0}
|
||||||
|
Equipped: 0
|
||||||
|
StackLimit: 1
|
||||||
|
PickedUpOnFrame: 0
|
||||||
|
ContextWindows: []
|
||||||
|
IsLinkedSlotClone: 0
|
||||||
|
limitStackSlotCapacity: {fileID: 0}
|
||||||
--- !u!225 &8715477175483360843
|
--- !u!225 &8715477175483360843
|
||||||
CanvasGroup:
|
CanvasGroup:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@ -215,7 +226,7 @@ RectTransform:
|
|||||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
m_AnchoredPosition: {x: 0, y: 0}
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
m_SizeDelta: {x: 100, y: 100.000015}
|
m_SizeDelta: {x: 300, y: 150}
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
--- !u!222 &8715477176133586262
|
--- !u!222 &8715477176133586262
|
||||||
CanvasRenderer:
|
CanvasRenderer:
|
||||||
|
@ -36,7 +36,7 @@ RectTransform:
|
|||||||
m_AnchorMin: {x: 0, y: 1}
|
m_AnchorMin: {x: 0, y: 1}
|
||||||
m_AnchorMax: {x: 0, y: 1}
|
m_AnchorMax: {x: 0, y: 1}
|
||||||
m_AnchoredPosition: {x: 0, y: 0}
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
m_SizeDelta: {x: 100, y: 100}
|
m_SizeDelta: {x: 150, y: 150}
|
||||||
m_Pivot: {x: 0, y: 1}
|
m_Pivot: {x: 0, y: 1}
|
||||||
--- !u!222 &3666967495694384907
|
--- !u!222 &3666967495694384907
|
||||||
CanvasRenderer:
|
CanvasRenderer:
|
||||||
@ -113,7 +113,7 @@ RectTransform:
|
|||||||
m_AnchorMin: {x: 0, y: 1}
|
m_AnchorMin: {x: 0, y: 1}
|
||||||
m_AnchorMax: {x: 0, y: 1}
|
m_AnchorMax: {x: 0, y: 1}
|
||||||
m_AnchoredPosition: {x: 0, y: 0}
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
m_SizeDelta: {x: 100, y: 100}
|
m_SizeDelta: {x: 150, y: 150}
|
||||||
m_Pivot: {x: 0, y: 1}
|
m_Pivot: {x: 0, y: 1}
|
||||||
--- !u!114 &8715477175483360842
|
--- !u!114 &8715477175483360842
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
@ -132,6 +132,7 @@ MonoBehaviour:
|
|||||||
height: 2
|
height: 2
|
||||||
ItemTag: 9
|
ItemTag: 9
|
||||||
ContainedItems: []
|
ContainedItems: []
|
||||||
|
ParentContainer: {fileID: 0}
|
||||||
container: {fileID: 0}
|
container: {fileID: 0}
|
||||||
containerUIPrefab: {fileID: 8693914790612862727, guid: 4388120732ddcf44e90443329e307ef2,
|
containerUIPrefab: {fileID: 8693914790612862727, guid: 4388120732ddcf44e90443329e307ef2,
|
||||||
type: 3}
|
type: 3}
|
||||||
@ -142,7 +143,6 @@ MonoBehaviour:
|
|||||||
PickedUpOnFrame: 0
|
PickedUpOnFrame: 0
|
||||||
ContextWindows: []
|
ContextWindows: []
|
||||||
IsLinkedSlotClone: 0
|
IsLinkedSlotClone: 0
|
||||||
PointerIsHoveredOver: 0
|
|
||||||
limitStackSlotCapacity: {fileID: 0}
|
limitStackSlotCapacity: {fileID: 0}
|
||||||
--- !u!225 &8715477175483360843
|
--- !u!225 &8715477175483360843
|
||||||
CanvasGroup:
|
CanvasGroup:
|
||||||
@ -228,7 +228,7 @@ RectTransform:
|
|||||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
m_AnchoredPosition: {x: 0, y: 0}
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
m_SizeDelta: {x: 100, y: 100.000015}
|
m_SizeDelta: {x: 150, y: 150}
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
--- !u!222 &8715477176133586262
|
--- !u!222 &8715477176133586262
|
||||||
CanvasRenderer:
|
CanvasRenderer:
|
||||||
|
@ -111,7 +111,7 @@ MonoBehaviour:
|
|||||||
m_Calls: []
|
m_Calls: []
|
||||||
m_Sprite: {fileID: 21300000, guid: 09eb7f8247b62a646b6e1c37f5489387, type: 3}
|
m_Sprite: {fileID: 21300000, guid: 09eb7f8247b62a646b6e1c37f5489387, type: 3}
|
||||||
m_Type: 0
|
m_Type: 0
|
||||||
m_PreserveAspect: 1
|
m_PreserveAspect: 0
|
||||||
m_FillCenter: 1
|
m_FillCenter: 1
|
||||||
m_FillMethod: 4
|
m_FillMethod: 4
|
||||||
m_FillAmount: 1
|
m_FillAmount: 1
|
||||||
@ -195,6 +195,7 @@ MonoBehaviour:
|
|||||||
HasSlotsBelongingToItem: []
|
HasSlotsBelongingToItem: []
|
||||||
imageScale: 1
|
imageScale: 1
|
||||||
AllowedItemTags:
|
AllowedItemTags:
|
||||||
|
DroppedOnFrame: 0
|
||||||
--- !u!114 &8393752999242408984
|
--- !u!114 &8393752999242408984
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
@ -0,0 +1,235 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!1 &4961555904879958529
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 4440658733661691366}
|
||||||
|
- component: {fileID: 2813530617427812674}
|
||||||
|
- component: {fileID: 2772551615480428293}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: Pouch_Cells_1x1
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &4440658733661691366
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 4961555904879958529}
|
||||||
|
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: 3706314889015857654}
|
||||||
|
m_Father: {fileID: 0}
|
||||||
|
m_RootOrder: 0
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0, y: 0}
|
||||||
|
m_AnchorMax: {x: 0, y: 0}
|
||||||
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
|
m_SizeDelta: {x: 75, y: 75}
|
||||||
|
m_Pivot: {x: 0, y: 1}
|
||||||
|
--- !u!114 &2813530617427812674
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 4961555904879958529}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 8a8695521f0d02e499659fee002a26c2, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Padding:
|
||||||
|
m_Left: 0
|
||||||
|
m_Right: 0
|
||||||
|
m_Top: 0
|
||||||
|
m_Bottom: 0
|
||||||
|
m_ChildAlignment: 0
|
||||||
|
m_StartCorner: 0
|
||||||
|
m_StartAxis: 0
|
||||||
|
m_CellSize: {x: 75, y: 75}
|
||||||
|
m_Spacing: {x: 0, y: 0}
|
||||||
|
m_Constraint: 0
|
||||||
|
m_ConstraintCount: 2
|
||||||
|
--- !u!114 &2772551615480428293
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 4961555904879958529}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 6d25ee891ba21b84e8a9457636d75553, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
CellPrefab: {fileID: 1566954026672504342, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
generateCells: 0
|
||||||
|
slots: []
|
||||||
|
gridSize:
|
||||||
|
Width: 1
|
||||||
|
Height: 1
|
||||||
|
testItem: {fileID: 0}
|
||||||
|
testItems: []
|
||||||
|
--- !u!1001 &2797168179609513955
|
||||||
|
PrefabInstance:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Modification:
|
||||||
|
m_TransformParent: {fileID: 4440658733661691366}
|
||||||
|
m_Modifications:
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.w
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_RootOrder
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_SizeDelta.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_SizeDelta.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_AnchorMin.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_AnchorMin.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_AnchorMax.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_AnchorMax.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Pivot.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Pivot.y
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504342, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Name
|
||||||
|
value: Cell
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8586551853343888074, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: DisallowedItemTags.Array.size
|
||||||
|
value: 4
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8586551853343888074, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: DisallowedItemTags.Array.data[0]
|
||||||
|
value: 13
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8586551853343888074, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: DisallowedItemTags.Array.data[1]
|
||||||
|
value: 14
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8586551853343888074, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: DisallowedItemTags.Array.data[2]
|
||||||
|
value: 15
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8586551853343888074, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: DisallowedItemTags.Array.data[3]
|
||||||
|
value: 16
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
m_RemovedComponents: []
|
||||||
|
m_SourcePrefab: {fileID: 100100000, guid: 2a8662b29b154fd41a19e9aec30dc3b7, type: 3}
|
||||||
|
--- !u!224 &3706314889015857654 stripped
|
||||||
|
RectTransform:
|
||||||
|
m_CorrespondingSourceObject: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
m_PrefabInstance: {fileID: 2797168179609513955}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
@ -1,7 +1,6 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: 932332605b143de408257962fa7ff175
|
guid: f3425cbf277fef64da5cb7046be46b55
|
||||||
folderAsset: yes
|
PrefabImporter:
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
userData:
|
userData:
|
||||||
assetBundleName:
|
assetBundleName:
|
@ -0,0 +1,391 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!1 &4961555904879958529
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 4440658733661691366}
|
||||||
|
- component: {fileID: 2813530617427812674}
|
||||||
|
- component: {fileID: 2772551615480428293}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: Pouch_Cells_1x2
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &4440658733661691366
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 4961555904879958529}
|
||||||
|
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: 3706314889015857654}
|
||||||
|
- {fileID: 3559708749902008884}
|
||||||
|
m_Father: {fileID: 0}
|
||||||
|
m_RootOrder: 0
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0, y: 0}
|
||||||
|
m_AnchorMax: {x: 0, y: 0}
|
||||||
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
|
m_SizeDelta: {x: 75, y: 150}
|
||||||
|
m_Pivot: {x: 0, y: 1}
|
||||||
|
--- !u!114 &2813530617427812674
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 4961555904879958529}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 8a8695521f0d02e499659fee002a26c2, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Padding:
|
||||||
|
m_Left: 0
|
||||||
|
m_Right: 0
|
||||||
|
m_Top: 0
|
||||||
|
m_Bottom: 0
|
||||||
|
m_ChildAlignment: 0
|
||||||
|
m_StartCorner: 0
|
||||||
|
m_StartAxis: 0
|
||||||
|
m_CellSize: {x: 75, y: 75}
|
||||||
|
m_Spacing: {x: 0, y: 0}
|
||||||
|
m_Constraint: 0
|
||||||
|
m_ConstraintCount: 2
|
||||||
|
--- !u!114 &2772551615480428293
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 4961555904879958529}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 6d25ee891ba21b84e8a9457636d75553, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
CellPrefab: {fileID: 1566954026672504342, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
generateCells: 0
|
||||||
|
slots: []
|
||||||
|
gridSize:
|
||||||
|
Width: 1
|
||||||
|
Height: 2
|
||||||
|
testItem: {fileID: 0}
|
||||||
|
testItems: []
|
||||||
|
--- !u!1001 &2654960344705592353
|
||||||
|
PrefabInstance:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Modification:
|
||||||
|
m_TransformParent: {fileID: 4440658733661691366}
|
||||||
|
m_Modifications:
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.w
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_RootOrder
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_SizeDelta.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_SizeDelta.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_AnchorMin.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_AnchorMin.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_AnchorMax.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_AnchorMax.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Pivot.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Pivot.y
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504342, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Name
|
||||||
|
value: Cell (1)
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8586551853343888074, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: DisallowedItemTags.Array.size
|
||||||
|
value: 4
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8586551853343888074, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: DisallowedItemTags.Array.data[0]
|
||||||
|
value: 13
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8586551853343888074, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: DisallowedItemTags.Array.data[1]
|
||||||
|
value: 14
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8586551853343888074, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: DisallowedItemTags.Array.data[2]
|
||||||
|
value: 15
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8586551853343888074, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: DisallowedItemTags.Array.data[3]
|
||||||
|
value: 16
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
m_RemovedComponents: []
|
||||||
|
m_SourcePrefab: {fileID: 100100000, guid: 2a8662b29b154fd41a19e9aec30dc3b7, type: 3}
|
||||||
|
--- !u!224 &3559708749902008884 stripped
|
||||||
|
RectTransform:
|
||||||
|
m_CorrespondingSourceObject: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
m_PrefabInstance: {fileID: 2654960344705592353}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
--- !u!1001 &2797168179609513955
|
||||||
|
PrefabInstance:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Modification:
|
||||||
|
m_TransformParent: {fileID: 4440658733661691366}
|
||||||
|
m_Modifications:
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.w
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_RootOrder
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_SizeDelta.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_SizeDelta.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_AnchorMin.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_AnchorMin.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_AnchorMax.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_AnchorMax.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Pivot.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Pivot.y
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504342, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Name
|
||||||
|
value: Cell
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8586551853343888074, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: DisallowedItemTags.Array.size
|
||||||
|
value: 4
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8586551853343888074, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: DisallowedItemTags.Array.data[0]
|
||||||
|
value: 13
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8586551853343888074, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: DisallowedItemTags.Array.data[1]
|
||||||
|
value: 14
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8586551853343888074, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: DisallowedItemTags.Array.data[2]
|
||||||
|
value: 15
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8586551853343888074, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: DisallowedItemTags.Array.data[3]
|
||||||
|
value: 16
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8586551853343888074, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: FitItemImageInSlotImage
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
m_RemovedComponents: []
|
||||||
|
m_SourcePrefab: {fileID: 100100000, guid: 2a8662b29b154fd41a19e9aec30dc3b7, type: 3}
|
||||||
|
--- !u!224 &3706314889015857654 stripped
|
||||||
|
RectTransform:
|
||||||
|
m_CorrespondingSourceObject: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
m_PrefabInstance: {fileID: 2797168179609513955}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: f67359f74b4cfa049a5ef8ae707825fa
|
||||||
|
PrefabImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
@ -0,0 +1,537 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!1 &4961555904879958529
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 4440658733661691366}
|
||||||
|
- component: {fileID: 2813530617427812674}
|
||||||
|
- component: {fileID: 2772551615480428293}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: Pouch_Cells_1x3
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &4440658733661691366
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 4961555904879958529}
|
||||||
|
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: 3706314889015857654}
|
||||||
|
- {fileID: 3559708749902008884}
|
||||||
|
- {fileID: 61806926326290564}
|
||||||
|
m_Father: {fileID: 0}
|
||||||
|
m_RootOrder: 0
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0, y: 0}
|
||||||
|
m_AnchorMax: {x: 0, y: 0}
|
||||||
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
|
m_SizeDelta: {x: 75, y: 150}
|
||||||
|
m_Pivot: {x: 0, y: 1}
|
||||||
|
--- !u!114 &2813530617427812674
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 4961555904879958529}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 8a8695521f0d02e499659fee002a26c2, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Padding:
|
||||||
|
m_Left: 0
|
||||||
|
m_Right: 0
|
||||||
|
m_Top: 0
|
||||||
|
m_Bottom: 0
|
||||||
|
m_ChildAlignment: 0
|
||||||
|
m_StartCorner: 0
|
||||||
|
m_StartAxis: 0
|
||||||
|
m_CellSize: {x: 75, y: 75}
|
||||||
|
m_Spacing: {x: 0, y: 0}
|
||||||
|
m_Constraint: 0
|
||||||
|
m_ConstraintCount: 2
|
||||||
|
--- !u!114 &2772551615480428293
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 4961555904879958529}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 6d25ee891ba21b84e8a9457636d75553, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
CellPrefab: {fileID: 1566954026672504342, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
generateCells: 0
|
||||||
|
slots: []
|
||||||
|
gridSize:
|
||||||
|
Width: 1
|
||||||
|
Height: 3
|
||||||
|
testItem: {fileID: 0}
|
||||||
|
testItems: []
|
||||||
|
--- !u!1001 &1541749983105574545
|
||||||
|
PrefabInstance:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Modification:
|
||||||
|
m_TransformParent: {fileID: 4440658733661691366}
|
||||||
|
m_Modifications:
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.w
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_RootOrder
|
||||||
|
value: 2
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_SizeDelta.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_SizeDelta.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_AnchorMin.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_AnchorMin.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_AnchorMax.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_AnchorMax.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Pivot.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Pivot.y
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504342, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Name
|
||||||
|
value: Cell (2)
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8586551853343888074, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: DisallowedItemTags.Array.size
|
||||||
|
value: 4
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8586551853343888074, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: DisallowedItemTags.Array.data[0]
|
||||||
|
value: 13
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8586551853343888074, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: DisallowedItemTags.Array.data[1]
|
||||||
|
value: 14
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8586551853343888074, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: DisallowedItemTags.Array.data[2]
|
||||||
|
value: 15
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8586551853343888074, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: DisallowedItemTags.Array.data[3]
|
||||||
|
value: 16
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
m_RemovedComponents: []
|
||||||
|
m_SourcePrefab: {fileID: 100100000, guid: 2a8662b29b154fd41a19e9aec30dc3b7, type: 3}
|
||||||
|
--- !u!224 &61806926326290564 stripped
|
||||||
|
RectTransform:
|
||||||
|
m_CorrespondingSourceObject: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
m_PrefabInstance: {fileID: 1541749983105574545}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
--- !u!1001 &2654960344705592353
|
||||||
|
PrefabInstance:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Modification:
|
||||||
|
m_TransformParent: {fileID: 4440658733661691366}
|
||||||
|
m_Modifications:
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.w
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_RootOrder
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_SizeDelta.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_SizeDelta.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_AnchorMin.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_AnchorMin.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_AnchorMax.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_AnchorMax.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Pivot.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Pivot.y
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504342, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Name
|
||||||
|
value: Cell (1)
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8586551853343888074, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: DisallowedItemTags.Array.size
|
||||||
|
value: 4
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8586551853343888074, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: DisallowedItemTags.Array.data[0]
|
||||||
|
value: 13
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8586551853343888074, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: DisallowedItemTags.Array.data[1]
|
||||||
|
value: 14
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8586551853343888074, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: DisallowedItemTags.Array.data[2]
|
||||||
|
value: 15
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8586551853343888074, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: DisallowedItemTags.Array.data[3]
|
||||||
|
value: 16
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
m_RemovedComponents: []
|
||||||
|
m_SourcePrefab: {fileID: 100100000, guid: 2a8662b29b154fd41a19e9aec30dc3b7, type: 3}
|
||||||
|
--- !u!224 &3559708749902008884 stripped
|
||||||
|
RectTransform:
|
||||||
|
m_CorrespondingSourceObject: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
m_PrefabInstance: {fileID: 2654960344705592353}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
--- !u!1001 &2797168179609513955
|
||||||
|
PrefabInstance:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Modification:
|
||||||
|
m_TransformParent: {fileID: 4440658733661691366}
|
||||||
|
m_Modifications:
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.w
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_RootOrder
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_SizeDelta.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_SizeDelta.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_AnchorMin.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_AnchorMin.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_AnchorMax.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_AnchorMax.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Pivot.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Pivot.y
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504342, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Name
|
||||||
|
value: Cell
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8586551853343888074, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: DisallowedItemTags.Array.size
|
||||||
|
value: 4
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8586551853343888074, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: DisallowedItemTags.Array.data[0]
|
||||||
|
value: 13
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8586551853343888074, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: DisallowedItemTags.Array.data[1]
|
||||||
|
value: 14
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8586551853343888074, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: DisallowedItemTags.Array.data[2]
|
||||||
|
value: 15
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8586551853343888074, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: DisallowedItemTags.Array.data[3]
|
||||||
|
value: 16
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
m_RemovedComponents: []
|
||||||
|
m_SourcePrefab: {fileID: 100100000, guid: 2a8662b29b154fd41a19e9aec30dc3b7, type: 3}
|
||||||
|
--- !u!224 &3706314889015857654 stripped
|
||||||
|
RectTransform:
|
||||||
|
m_CorrespondingSourceObject: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
m_PrefabInstance: {fileID: 2797168179609513955}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 365e19c70d7be644da9baa9f184cfbdc
|
||||||
|
PrefabImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
@ -0,0 +1,688 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!1 &4961555904879958529
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 4440658733661691366}
|
||||||
|
- component: {fileID: 2813530617427812674}
|
||||||
|
- component: {fileID: 2772551615480428293}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: Pouch_Cells_2x2
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &4440658733661691366
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 4961555904879958529}
|
||||||
|
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: 3706314889015857654}
|
||||||
|
- {fileID: 3559708749902008884}
|
||||||
|
- {fileID: 7599966210288137755}
|
||||||
|
- {fileID: 3688593326068289041}
|
||||||
|
m_Father: {fileID: 0}
|
||||||
|
m_RootOrder: 0
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0, y: 0}
|
||||||
|
m_AnchorMax: {x: 0, y: 0}
|
||||||
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
|
m_SizeDelta: {x: 150, y: 150}
|
||||||
|
m_Pivot: {x: 0, y: 1}
|
||||||
|
--- !u!114 &2813530617427812674
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 4961555904879958529}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 8a8695521f0d02e499659fee002a26c2, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Padding:
|
||||||
|
m_Left: 0
|
||||||
|
m_Right: 0
|
||||||
|
m_Top: 0
|
||||||
|
m_Bottom: 0
|
||||||
|
m_ChildAlignment: 0
|
||||||
|
m_StartCorner: 0
|
||||||
|
m_StartAxis: 0
|
||||||
|
m_CellSize: {x: 75, y: 75}
|
||||||
|
m_Spacing: {x: 0, y: 0}
|
||||||
|
m_Constraint: 0
|
||||||
|
m_ConstraintCount: 2
|
||||||
|
--- !u!114 &2772551615480428293
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 4961555904879958529}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 6d25ee891ba21b84e8a9457636d75553, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
CellPrefab: {fileID: 1566954026672504342, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
generateCells: 0
|
||||||
|
slots: []
|
||||||
|
gridSize:
|
||||||
|
Width: 2
|
||||||
|
Height: 2
|
||||||
|
testItem: {fileID: 0}
|
||||||
|
testItems: []
|
||||||
|
--- !u!1001 &2654960344705592353
|
||||||
|
PrefabInstance:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Modification:
|
||||||
|
m_TransformParent: {fileID: 4440658733661691366}
|
||||||
|
m_Modifications:
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.w
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_RootOrder
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_SizeDelta.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_SizeDelta.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_AnchorMin.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_AnchorMin.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_AnchorMax.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_AnchorMax.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Pivot.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Pivot.y
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504342, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Name
|
||||||
|
value: Cell (1)
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8586551853343888074, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: DisallowedItemTags.Array.size
|
||||||
|
value: 4
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8586551853343888074, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: DisallowedItemTags.Array.data[0]
|
||||||
|
value: 13
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8586551853343888074, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: DisallowedItemTags.Array.data[1]
|
||||||
|
value: 14
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8586551853343888074, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: DisallowedItemTags.Array.data[2]
|
||||||
|
value: 15
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8586551853343888074, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: DisallowedItemTags.Array.data[3]
|
||||||
|
value: 16
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
m_RemovedComponents: []
|
||||||
|
m_SourcePrefab: {fileID: 100100000, guid: 2a8662b29b154fd41a19e9aec30dc3b7, type: 3}
|
||||||
|
--- !u!224 &3559708749902008884 stripped
|
||||||
|
RectTransform:
|
||||||
|
m_CorrespondingSourceObject: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
m_PrefabInstance: {fileID: 2654960344705592353}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
--- !u!1001 &2778286065222676484
|
||||||
|
PrefabInstance:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Modification:
|
||||||
|
m_TransformParent: {fileID: 4440658733661691366}
|
||||||
|
m_Modifications:
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.w
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_RootOrder
|
||||||
|
value: 3
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_SizeDelta.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_SizeDelta.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_AnchorMin.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_AnchorMin.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_AnchorMax.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_AnchorMax.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Pivot.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Pivot.y
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504342, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Name
|
||||||
|
value: Cell (3)
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8586551853343888074, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: DisallowedItemTags.Array.size
|
||||||
|
value: 4
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8586551853343888074, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: DisallowedItemTags.Array.data[0]
|
||||||
|
value: 13
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8586551853343888074, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: DisallowedItemTags.Array.data[1]
|
||||||
|
value: 14
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8586551853343888074, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: DisallowedItemTags.Array.data[2]
|
||||||
|
value: 15
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8586551853343888074, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: DisallowedItemTags.Array.data[3]
|
||||||
|
value: 16
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
m_RemovedComponents: []
|
||||||
|
m_SourcePrefab: {fileID: 100100000, guid: 2a8662b29b154fd41a19e9aec30dc3b7, type: 3}
|
||||||
|
--- !u!224 &3688593326068289041 stripped
|
||||||
|
RectTransform:
|
||||||
|
m_CorrespondingSourceObject: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
m_PrefabInstance: {fileID: 2778286065222676484}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
--- !u!1001 &2797168179609513955
|
||||||
|
PrefabInstance:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Modification:
|
||||||
|
m_TransformParent: {fileID: 4440658733661691366}
|
||||||
|
m_Modifications:
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.w
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_RootOrder
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_SizeDelta.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_SizeDelta.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_AnchorMin.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_AnchorMin.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_AnchorMax.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_AnchorMax.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Pivot.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Pivot.y
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504342, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Name
|
||||||
|
value: Cell
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8586551853343888074, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: DisallowedItemTags.Array.size
|
||||||
|
value: 4
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8586551853343888074, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: DisallowedItemTags.Array.data[0]
|
||||||
|
value: 13
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8586551853343888074, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: DisallowedItemTags.Array.data[1]
|
||||||
|
value: 14
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8586551853343888074, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: DisallowedItemTags.Array.data[2]
|
||||||
|
value: 15
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8586551853343888074, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: DisallowedItemTags.Array.data[3]
|
||||||
|
value: 16
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
m_RemovedComponents: []
|
||||||
|
m_SourcePrefab: {fileID: 100100000, guid: 2a8662b29b154fd41a19e9aec30dc3b7, type: 3}
|
||||||
|
--- !u!224 &3706314889015857654 stripped
|
||||||
|
RectTransform:
|
||||||
|
m_CorrespondingSourceObject: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
m_PrefabInstance: {fileID: 2797168179609513955}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
--- !u!1001 &8990998375673137166
|
||||||
|
PrefabInstance:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Modification:
|
||||||
|
m_TransformParent: {fileID: 4440658733661691366}
|
||||||
|
m_Modifications:
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.w
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_RootOrder
|
||||||
|
value: 2
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_SizeDelta.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_SizeDelta.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_AnchorMin.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_AnchorMin.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_AnchorMax.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_AnchorMax.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Pivot.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Pivot.y
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1566954026672504342, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Name
|
||||||
|
value: Cell (2)
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8586551853343888074, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: DisallowedItemTags.Array.size
|
||||||
|
value: 4
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8586551853343888074, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: DisallowedItemTags.Array.data[0]
|
||||||
|
value: 13
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8586551853343888074, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: DisallowedItemTags.Array.data[1]
|
||||||
|
value: 14
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8586551853343888074, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: DisallowedItemTags.Array.data[2]
|
||||||
|
value: 15
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8586551853343888074, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: DisallowedItemTags.Array.data[3]
|
||||||
|
value: 16
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
m_RemovedComponents: []
|
||||||
|
m_SourcePrefab: {fileID: 100100000, guid: 2a8662b29b154fd41a19e9aec30dc3b7, type: 3}
|
||||||
|
--- !u!224 &7599966210288137755 stripped
|
||||||
|
RectTransform:
|
||||||
|
m_CorrespondingSourceObject: {fileID: 1566954026672504341, guid: 2a8662b29b154fd41a19e9aec30dc3b7,
|
||||||
|
type: 3}
|
||||||
|
m_PrefabInstance: {fileID: 8990998375673137166}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: cea0924694ac2b04dacd8a84f4819fca
|
||||||
|
PrefabImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
File diff suppressed because it is too large
Load Diff
@ -68,6 +68,18 @@ namespace SimpleInventorySystem
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[Serializable]
|
||||||
|
public class TagSlotPairing
|
||||||
|
{
|
||||||
|
public ItemTags itemTag;
|
||||||
|
public SlotUI slot;
|
||||||
|
|
||||||
|
public bool HasSlotOccupied()
|
||||||
|
{
|
||||||
|
return slot.GetItemUI() != null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public enum ItemTags
|
public enum ItemTags
|
||||||
{
|
{
|
||||||
Any,
|
Any,
|
||||||
@ -87,7 +99,8 @@ namespace SimpleInventorySystem
|
|||||||
Pouch1x2,
|
Pouch1x2,
|
||||||
Pouch1x3,
|
Pouch1x3,
|
||||||
Pouch2x2,
|
Pouch2x2,
|
||||||
BodyArmor
|
BodyArmor,
|
||||||
|
PlateCarrier
|
||||||
}
|
}
|
||||||
|
|
||||||
public class InventorySystem : MonoBehaviour, IPointerClickHandler
|
public class InventorySystem : MonoBehaviour, IPointerClickHandler
|
||||||
@ -107,9 +120,11 @@ namespace SimpleInventorySystem
|
|||||||
public KeyCode rotateKey;
|
public KeyCode rotateKey;
|
||||||
public KeyCode menuKey;
|
public KeyCode menuKey;
|
||||||
public KeyCode interactKey;
|
public KeyCode interactKey;
|
||||||
|
public KeyCode dropItemKey;
|
||||||
protected KeyInput rotationKeyInput;
|
protected KeyInput rotationKeyInput;
|
||||||
protected KeyInput menuKeyInput;
|
protected KeyInput menuKeyInput;
|
||||||
protected KeyInput interactKeyInput;
|
protected KeyInput interactKeyInput;
|
||||||
|
protected KeyInput dropItemKeyInput;
|
||||||
[SerializeField] private int DefaultWidthOnGrid = 100;
|
[SerializeField] private int DefaultWidthOnGrid = 100;
|
||||||
[SerializeField] private int DefaultHeightOnGrid = 100;
|
[SerializeField] private int DefaultHeightOnGrid = 100;
|
||||||
public Size DefaultSizeOnGrid;
|
public Size DefaultSizeOnGrid;
|
||||||
@ -121,6 +136,8 @@ namespace SimpleInventorySystem
|
|||||||
public ItemUI DraggedItem;
|
public ItemUI DraggedItem;
|
||||||
public ContextMenuManagerUI ContextMenuUI;
|
public ContextMenuManagerUI ContextMenuUI;
|
||||||
public static List<GameObject> hoverResults;
|
public static List<GameObject> hoverResults;
|
||||||
|
public Player_IS player;
|
||||||
|
public List<TagSlotPairing> TagSlotPairings;
|
||||||
|
|
||||||
private void Awake()
|
private void Awake()
|
||||||
{
|
{
|
||||||
@ -138,6 +155,7 @@ namespace SimpleInventorySystem
|
|||||||
rotationKeyInput = new KeyInput(rotateKey);
|
rotationKeyInput = new KeyInput(rotateKey);
|
||||||
menuKeyInput = new KeyInput(menuKey);
|
menuKeyInput = new KeyInput(menuKey);
|
||||||
interactKeyInput = new KeyInput(interactKey);
|
interactKeyInput = new KeyInput(interactKey);
|
||||||
|
dropItemKeyInput = new KeyInput(dropItemKey);
|
||||||
|
|
||||||
lootMessage = playerUI.transform.Find("Loot Message").GetComponent<TextMeshProUGUI>();
|
lootMessage = playerUI.transform.Find("Loot Message").GetComponent<TextMeshProUGUI>();
|
||||||
if (lootMessage != null)
|
if (lootMessage != null)
|
||||||
@ -148,13 +166,12 @@ namespace SimpleInventorySystem
|
|||||||
}
|
}
|
||||||
|
|
||||||
toolbarEvents = EventsObject.transform.Find("Toolbar").gameObject;
|
toolbarEvents = EventsObject.transform.Find("Toolbar").gameObject;
|
||||||
|
|
||||||
InventoryMenuUI.SetActive(false);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Start is called before the first frame update
|
// Start is called before the first frame update
|
||||||
void Start()
|
void Start()
|
||||||
{
|
{
|
||||||
|
InventoryMenuUI.SetActive(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Update is called once per frame
|
// Update is called once per frame
|
||||||
@ -163,8 +180,12 @@ namespace SimpleInventorySystem
|
|||||||
rotationKeyInput.Update();
|
rotationKeyInput.Update();
|
||||||
menuKeyInput.Update();
|
menuKeyInput.Update();
|
||||||
interactKeyInput.Update();
|
interactKeyInput.Update();
|
||||||
|
dropItemKeyInput.Update();
|
||||||
|
|
||||||
DetectObject();
|
//else
|
||||||
|
{
|
||||||
|
DetectObject();
|
||||||
|
}
|
||||||
|
|
||||||
if (menuKeyInput.PressedKey(true))
|
if (menuKeyInput.PressedKey(true))
|
||||||
{
|
{
|
||||||
@ -278,17 +299,54 @@ namespace SimpleInventorySystem
|
|||||||
//Debug.Log("Detecting...");
|
//Debug.Log("Detecting...");
|
||||||
}
|
}
|
||||||
Ray ray = playerCamera.ScreenPointToRay(new Vector2(Screen.width / 2, Screen.height / 2));//controls.Mouse.Position.ReadValue<Vector2>());
|
Ray ray = playerCamera.ScreenPointToRay(new Vector2(Screen.width / 2, Screen.height / 2));//controls.Mouse.Position.ReadValue<Vector2>());
|
||||||
|
|
||||||
RaycastHit hit;
|
RaycastHit hit;
|
||||||
if (Physics.Raycast(ray, out hit))
|
if (Physics.Raycast(ray, out hit))
|
||||||
{
|
{
|
||||||
|
// for single hits, i guess...
|
||||||
|
}
|
||||||
|
|
||||||
|
RaycastHit[] hits = Physics.RaycastAll(ray, 200);
|
||||||
|
for(int i = 0; i < hits.Length; i++)
|
||||||
|
{
|
||||||
|
if (hits[i].collider != null)
|
||||||
|
{
|
||||||
|
//Debug.Log("3D Hit All: " + hits[i].collider.gameObject.name);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
if (hit.collider != null)// && hit.transform.parent.parent.parent != null)
|
if (hit.collider != null)// && hit.transform.parent.parent.parent != null)
|
||||||
{
|
{
|
||||||
|
PickUp response_pickUp = hit.collider.transform.GetComponent<PickUp>();
|
||||||
|
if (response_pickUp && !InventorySystem.instance.IsUsingInventoryMenuUI())
|
||||||
|
{
|
||||||
|
//Debug.Log("Detecting");
|
||||||
|
lootMessage.gameObject.SetActive(true);
|
||||||
|
|
||||||
|
if (interactKeyInput.pressedKey)
|
||||||
|
player.HandlePickup(response_pickUp);
|
||||||
|
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
lootMessage.gameObject.SetActive(false);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
//Debug.Log("3D Hit: " + hit.collider.transform.name);
|
//Debug.Log("3D Hit: " + hit.collider.transform.name);
|
||||||
// TODO: functionality here
|
// TODO: functionality here
|
||||||
|
|
||||||
Inventory response = hit.collider.transform.GetComponent<Inventory>();
|
Inventory response_inventory = hit.collider.transform.GetComponent<Inventory>();
|
||||||
if (response != null && !InventorySystem.instance.IsUsingInventoryMenuUI())
|
|
||||||
|
if(response_inventory == player.inventory)
|
||||||
{
|
{
|
||||||
|
continue; // ignore self
|
||||||
|
}
|
||||||
|
|
||||||
|
if (response_inventory != null && !InventorySystem.instance.IsUsingInventoryMenuUI())
|
||||||
|
{
|
||||||
|
Debug.Log("Opening Inventory");
|
||||||
if (interactKeyInput.PressedKey(true))
|
if (interactKeyInput.PressedKey(true))
|
||||||
{
|
{
|
||||||
OpenInventory();
|
OpenInventory();
|
||||||
@ -310,15 +368,6 @@ namespace SimpleInventorySystem
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*RaycastHit[] hits = Physics.RaycastAll(ray, 200);
|
|
||||||
for(int i = 0; i < hits.Length; i++)
|
|
||||||
{
|
|
||||||
if (hits[i].collider != null)
|
|
||||||
{
|
|
||||||
Debug.Log("3D Hit All: " + hits[i].collider.tag);
|
|
||||||
}
|
|
||||||
}*/
|
|
||||||
|
|
||||||
/*RaycastHit[] hitsNonAlloc = new RaycastHit[1];
|
/*RaycastHit[] hitsNonAlloc = new RaycastHit[1];
|
||||||
int numberOfHits = Physics.RaycastNonAlloc(ray, hitsNonAlloc);
|
int numberOfHits = Physics.RaycastNonAlloc(ray, hitsNonAlloc);
|
||||||
for (int i = 0; i < numberOfHits; i++)
|
for (int i = 0; i < numberOfHits; i++)
|
||||||
@ -343,6 +392,10 @@ namespace SimpleInventorySystem
|
|||||||
{
|
{
|
||||||
return rotationKeyInput.PressedKey(singlePress);
|
return rotationKeyInput.PressedKey(singlePress);
|
||||||
}
|
}
|
||||||
|
public bool PressedDropItemKey(bool singlePress)
|
||||||
|
{
|
||||||
|
return dropItemKeyInput.PressedKey(singlePress);
|
||||||
|
}
|
||||||
|
|
||||||
public void OnPointerClick(PointerEventData eventData)
|
public void OnPointerClick(PointerEventData eventData)
|
||||||
{
|
{
|
||||||
|
124
Assets/SimpleInventorySystem/Scripts/Inventory/PickUp.cs
Normal file
124
Assets/SimpleInventorySystem/Scripts/Inventory/PickUp.cs
Normal file
@ -0,0 +1,124 @@
|
|||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
namespace SimpleInventorySystem
|
||||||
|
{
|
||||||
|
[RequireComponent(typeof(Collider))]
|
||||||
|
public class PickUp : MonoBehaviour
|
||||||
|
{
|
||||||
|
public GameObject ItemGameObject;
|
||||||
|
public Vector3 alterPosition;
|
||||||
|
public Vector3 alterRotation;
|
||||||
|
public Vector3 alterScale = Vector3.one;
|
||||||
|
private Vector3 oldPosition;
|
||||||
|
private Vector3 oldRotation;
|
||||||
|
private Vector3 oldScale;
|
||||||
|
public ItemUI itemUI;
|
||||||
|
private Collider pickUpCollider;
|
||||||
|
public PickUpRange pickUpRange;
|
||||||
|
public bool HadPickedUp { private set; get; }
|
||||||
|
[HideInInspector] public TargetAttachment targetAttachment;
|
||||||
|
|
||||||
|
// Start is called before the first frame update
|
||||||
|
void Start()
|
||||||
|
{
|
||||||
|
pickUpCollider = GetComponent<Collider>();
|
||||||
|
if (!pickUpCollider.isTrigger)
|
||||||
|
{
|
||||||
|
Debug.LogWarning("PickUp: The collider should be a trigger.");
|
||||||
|
}
|
||||||
|
|
||||||
|
if(ItemGameObject == null)
|
||||||
|
{
|
||||||
|
Debug.LogError("PickUp: ItemGameObject should not be null.");
|
||||||
|
}
|
||||||
|
|
||||||
|
oldPosition = ItemGameObject.transform.localPosition;
|
||||||
|
oldRotation = ItemGameObject.transform.localRotation.eulerAngles;
|
||||||
|
oldScale = ItemGameObject.transform.localScale;
|
||||||
|
|
||||||
|
//itemUI = Item.GetComponent<ItemUI>();
|
||||||
|
if (itemUI == null)
|
||||||
|
{
|
||||||
|
Debug.LogError("PickUp: ItemUI must not be null.");
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
itemUI.pickUp = this;
|
||||||
|
}
|
||||||
|
|
||||||
|
pickUpRange = GetComponentInChildren<PickUpRange>();
|
||||||
|
if(pickUpRange == null)
|
||||||
|
{
|
||||||
|
Debug.LogError("PickUp: PickUpRange must not be null.");
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
pickUpRange.pickUp = this;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public void SetItemGameObjectTransform(Vector3 newPosition, Vector3 newRotation, Vector3 newScale)
|
||||||
|
{
|
||||||
|
ItemGameObject.transform.localPosition = newPosition;
|
||||||
|
ItemGameObject.transform.localRotation = Quaternion.Euler(newRotation);
|
||||||
|
ItemGameObject.transform.localScale = newScale;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void DropDownHandler(bool keepOldPosition = false)
|
||||||
|
{
|
||||||
|
if(keepOldPosition)
|
||||||
|
ItemGameObject.transform.localPosition = oldPosition;
|
||||||
|
ItemGameObject.transform.localRotation = Quaternion.Euler(oldRotation);
|
||||||
|
ItemGameObject.transform.localScale = oldScale;
|
||||||
|
HadPickedUp = false;
|
||||||
|
pickUpCollider.enabled = true;
|
||||||
|
pickUpRange.GetComponent<Collider>().enabled = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void AlterItemGameObjectTransform()
|
||||||
|
{
|
||||||
|
ItemGameObject.transform.localPosition = alterPosition;
|
||||||
|
ItemGameObject.transform.localRotation = Quaternion.Euler(alterRotation);
|
||||||
|
ItemGameObject.transform.localScale = alterScale;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void PickUpHandler()
|
||||||
|
{
|
||||||
|
if (!HadPickedUp)
|
||||||
|
{
|
||||||
|
foreach (TagSlotPairing tsp in InventorySystem.instance.TagSlotPairings)
|
||||||
|
{
|
||||||
|
if (!tsp.HasSlotOccupied())
|
||||||
|
{
|
||||||
|
bool dropped = tsp.slot.DropOntoSlot(itemUI.gameObject);
|
||||||
|
if (dropped)
|
||||||
|
{
|
||||||
|
itemUI.transform.localRotation = Quaternion.Euler(new Vector3());
|
||||||
|
itemUI.transform.localScale = new Vector3(1, 1, 1);
|
||||||
|
HadPickedUp = true;
|
||||||
|
|
||||||
|
// TODO: Handle changing transform here
|
||||||
|
//ItemGameObject.GetComponent<>;
|
||||||
|
|
||||||
|
if(InventorySystem.instance.player.AttachItemGameObject(ItemGameObject, itemUI.ItemTag, itemUI))
|
||||||
|
{
|
||||||
|
pickUpCollider.enabled = false;
|
||||||
|
pickUpRange.GetComponent<Collider>().enabled = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Update is called once per frame
|
||||||
|
void Update()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,11 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 1b7390921a84d0f44840a6c5932f3251
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
@ -0,0 +1,23 @@
|
|||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
namespace SimpleInventorySystem
|
||||||
|
{
|
||||||
|
public class PickUpRange : MonoBehaviour
|
||||||
|
{
|
||||||
|
[HideInInspector] public PickUp pickUp;
|
||||||
|
|
||||||
|
// Start is called before the first frame update
|
||||||
|
void Start()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
// Update is called once per frame
|
||||||
|
void Update()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,11 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: ff0f6904789770443a6d795aa3f8ff5c
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
91
Assets/SimpleInventorySystem/Scripts/Inventory/Player_IS.cs
Normal file
91
Assets/SimpleInventorySystem/Scripts/Inventory/Player_IS.cs
Normal file
@ -0,0 +1,91 @@
|
|||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
|
||||||
|
namespace SimpleInventorySystem
|
||||||
|
{
|
||||||
|
[RequireComponent(typeof(Collider), typeof(Inventory))]
|
||||||
|
public class Player_IS : MonoBehaviour
|
||||||
|
{
|
||||||
|
//public bool CanPickupItem { get; private set; }
|
||||||
|
//public PickUp storedPickUp;
|
||||||
|
public List<PickUp> pickUpsInRange = new List<PickUp>();
|
||||||
|
[HideInInspector] public Inventory inventory;
|
||||||
|
public List<TargetAttachment> targetAttachments;
|
||||||
|
|
||||||
|
// Start is called before the first frame update
|
||||||
|
void Start()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public bool AttachItemGameObject(GameObject go, ItemTags itemTag, ItemUI itemUI)
|
||||||
|
{
|
||||||
|
foreach (TargetAttachment ta in targetAttachments)
|
||||||
|
{
|
||||||
|
if(ta != null && ta.AttachItemGameObject(go, itemTag, itemUI.pickUp))
|
||||||
|
{
|
||||||
|
itemUI.targetAttachment = ta;
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void DetachItemGameObject(GameObject go, ItemUI itemUI)
|
||||||
|
{
|
||||||
|
itemUI.targetAttachment.DetachItemGameObject(go);
|
||||||
|
itemUI.pickUp.DropDownHandler();
|
||||||
|
itemUI.targetAttachment = null;
|
||||||
|
itemUI.gameObject.transform.SetParent(go.transform);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Update is called once per frame
|
||||||
|
void Update()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public void HandlePickup(PickUp storedPickUp)
|
||||||
|
{
|
||||||
|
if(storedPickUp != null && pickUpsInRange.Contains(storedPickUp))
|
||||||
|
{
|
||||||
|
Debug.Log("Picking up");
|
||||||
|
storedPickUp.PickUpHandler();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
private void OnTriggerEnter(Collider other)
|
||||||
|
{
|
||||||
|
PickUpRange pickUpRange = other.GetComponent<PickUpRange>();
|
||||||
|
if (pickUpRange != null && !pickUpsInRange.Contains(pickUpRange.pickUp))
|
||||||
|
{
|
||||||
|
Debug.Log("Collided");
|
||||||
|
pickUpsInRange.Add(pickUpRange.pickUp);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void OnTriggerStay(Collider other)
|
||||||
|
{
|
||||||
|
PickUpRange pickUpRange = other.GetComponent<PickUpRange>();
|
||||||
|
if (pickUpRange != null)
|
||||||
|
{
|
||||||
|
//CanPickupItem = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
private void OnTriggerExit(Collider other)
|
||||||
|
{
|
||||||
|
PickUpRange pickUpRange = other.GetComponent<PickUpRange>();
|
||||||
|
if (pickUpRange != null && pickUpsInRange.Contains(pickUpRange.pickUp))
|
||||||
|
{
|
||||||
|
//CanPickupItem = false;
|
||||||
|
|
||||||
|
pickUpsInRange.Remove(pickUpRange.pickUp);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,11 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 03c6b482ea6237c4789a74add4ca62f8
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
@ -0,0 +1,58 @@
|
|||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
namespace SimpleInventorySystem
|
||||||
|
{
|
||||||
|
public class TargetAttachment : MonoBehaviour
|
||||||
|
{
|
||||||
|
public ItemTags itemTag;
|
||||||
|
private GameObject itemGameObject;
|
||||||
|
public Vector3 position;
|
||||||
|
public Vector3 rotation;
|
||||||
|
public Vector3 scale = Vector3.one;
|
||||||
|
public bool hideGameObject;
|
||||||
|
public bool KeepOldRotationOnDrop;
|
||||||
|
private Vector3 oldRotation = new Vector3();
|
||||||
|
|
||||||
|
public bool AttachItemGameObject(GameObject go, ItemTags targetItemTag, PickUp pickUp)
|
||||||
|
{
|
||||||
|
if (itemTag == targetItemTag)
|
||||||
|
{
|
||||||
|
itemGameObject = go;
|
||||||
|
|
||||||
|
if (hideGameObject)
|
||||||
|
{
|
||||||
|
itemGameObject.SetActive(false);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
oldRotation = go.transform.localRotation.eulerAngles;
|
||||||
|
|
||||||
|
go.transform.SetParent(transform, false);
|
||||||
|
if(pickUp == null)
|
||||||
|
{
|
||||||
|
go.transform.localPosition = position;
|
||||||
|
go.transform.localRotation = Quaternion.Euler(rotation);
|
||||||
|
go.transform.localScale = scale;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
pickUp.AlterItemGameObjectTransform();
|
||||||
|
}
|
||||||
|
// TODO: possibly handle transform rotations, scales, etc.
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void DetachItemGameObject(GameObject go)
|
||||||
|
{
|
||||||
|
itemGameObject = null;
|
||||||
|
// TODO: Most likely, implement drop here.
|
||||||
|
go.transform.SetParent(null);
|
||||||
|
go.transform.localRotation = Quaternion.Euler(oldRotation);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,11 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 6bba5ab18652a58438d3818d6575252d
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
@ -10,7 +10,7 @@ namespace SimpleInventorySystem
|
|||||||
public bool FindAttachToScriptInAttachToTransform;
|
public bool FindAttachToScriptInAttachToTransform;
|
||||||
private Transform targetParentTransform;
|
private Transform targetParentTransform;
|
||||||
[Tooltip("Leave empty if a container exists in dropped target(s) ItemUI.")]
|
[Tooltip("Leave empty if a container exists in dropped target(s) ItemUI.")]
|
||||||
public GameObject PrefabUI;
|
//public GameObject PrefabUI;
|
||||||
private GameObject instantiatedUI;
|
private GameObject instantiatedUI;
|
||||||
public bool StackAppend = true;
|
public bool StackAppend = true;
|
||||||
|
|
||||||
|
@ -132,6 +132,7 @@ namespace SimpleInventorySystem
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
lootCount++;
|
lootCount++;
|
||||||
|
item.transform.localScale = new Vector3(1, 1, 1);
|
||||||
}
|
}
|
||||||
i++;
|
i++;
|
||||||
} while (!dropped);
|
} while (!dropped);
|
||||||
@ -255,9 +256,13 @@ namespace SimpleInventorySystem
|
|||||||
Debug.Log("GridUI: CanMoveInCells(): " + slot.gameObject.name + ": F");
|
Debug.Log("GridUI: CanMoveInCells(): " + slot.gameObject.name + ": F");
|
||||||
|
|
||||||
Debug.Log(oCells.Count);
|
Debug.Log(oCells.Count);
|
||||||
}
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
}
|
||||||
|
Debug.Log("GridUI: CanMoveInCells(): " + slot.gameObject.name + ": G");
|
||||||
|
|
||||||
|
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Update is called once per frame
|
// Update is called once per frame
|
||||||
|
@ -13,19 +13,20 @@ namespace SimpleInventorySystem
|
|||||||
public GameObject[] showGameObjects;
|
public GameObject[] showGameObjects;
|
||||||
public SlotUI[] incompatibleSlots;
|
public SlotUI[] incompatibleSlots;
|
||||||
public GameObject[] hideGameObjects;
|
public GameObject[] hideGameObjects;
|
||||||
|
public List<ItemTags> AllowedItemTags;
|
||||||
|
|
||||||
// Start is called before the first frame update
|
// Start is called before the first frame update
|
||||||
void Start()
|
void Start()
|
||||||
{
|
{
|
||||||
if (slot != null)
|
if (slot != null)
|
||||||
{
|
{
|
||||||
slot.groupSlot = this;
|
slot.groupSlots.Add(this);
|
||||||
}
|
}
|
||||||
if (slots != null)
|
if (slots != null)
|
||||||
{
|
{
|
||||||
foreach (SlotUI s in slots)
|
foreach (SlotUI s in slots)
|
||||||
{
|
{
|
||||||
s.groupSlot = this;
|
s.groupSlots.Add(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -46,6 +47,7 @@ namespace SimpleInventorySystem
|
|||||||
{
|
{
|
||||||
foreach (GameObject uiContainerGameObject in showGameObjects)
|
foreach (GameObject uiContainerGameObject in showGameObjects)
|
||||||
{
|
{
|
||||||
|
Debug.Log("Hide: " + uiContainerGameObject.name);
|
||||||
uiContainerGameObject.SetActive(false);
|
uiContainerGameObject.SetActive(false);
|
||||||
}
|
}
|
||||||
foreach (GameObject uiContainerGameObject in hideGameObjects)
|
foreach (GameObject uiContainerGameObject in hideGameObjects)
|
||||||
@ -118,7 +120,9 @@ namespace SimpleInventorySystem
|
|||||||
|
|
||||||
internal void OnItemDropped()
|
internal void OnItemDropped()
|
||||||
{
|
{
|
||||||
if (HasSlotsOccupied() && !HasIncompatibleSlotsOccupied())
|
bool allowed = AllowedItemTags == null || AllowedItemTags.Count == 0 || AllowedItemTags.Contains(ItemTags.Any) || AllowedItemTags.Contains(slot.GetItemUI().ItemTag);
|
||||||
|
|
||||||
|
if (HasSlotsOccupied() && !HasIncompatibleSlotsOccupied() && allowed)
|
||||||
{
|
{
|
||||||
ShowUIContainer();
|
ShowUIContainer();
|
||||||
}
|
}
|
||||||
|
@ -12,7 +12,7 @@ namespace SimpleInventorySystem
|
|||||||
public class ItemUI : MonoBehaviour, IPointerEnterHandler, IPointerExitHandler
|
public class ItemUI : MonoBehaviour, IPointerEnterHandler, IPointerExitHandler
|
||||||
{
|
{
|
||||||
private RectTransform rectTransform;
|
private RectTransform rectTransform;
|
||||||
private Image image;
|
public Image image;
|
||||||
public Canvas canvas;
|
public Canvas canvas;
|
||||||
private CanvasGroup canvasGroup;
|
private CanvasGroup canvasGroup;
|
||||||
private float scale = 1f;
|
private float scale = 1f;
|
||||||
@ -30,7 +30,10 @@ namespace SimpleInventorySystem
|
|||||||
public GameObject container;
|
public GameObject container;
|
||||||
public GameObject containerUIPrefab;
|
public GameObject containerUIPrefab;
|
||||||
public Item itemPrefab;
|
public Item itemPrefab;
|
||||||
public bool Equipped;
|
[HideInInspector] public bool Equipped;
|
||||||
|
private Vector2 oldImageSizeDelta;
|
||||||
|
private Vector2 oldSizeDelta;
|
||||||
|
|
||||||
public bool Stackable
|
public bool Stackable
|
||||||
{
|
{
|
||||||
get { return StackLimit > 1; }
|
get { return StackLimit > 1; }
|
||||||
@ -61,12 +64,33 @@ namespace SimpleInventorySystem
|
|||||||
[HideInInspector] public bool IsLinkedSlotClone;
|
[HideInInspector] public bool IsLinkedSlotClone;
|
||||||
public bool PointerIsHoveredOver { get { return InventorySystem.IsMouseOverItemUITop(this); } }
|
public bool PointerIsHoveredOver { get { return InventorySystem.IsMouseOverItemUITop(this); } }
|
||||||
public LimitStackSlotCapacity limitStackSlotCapacity;
|
public LimitStackSlotCapacity limitStackSlotCapacity;
|
||||||
|
public PickUp pickUp;
|
||||||
|
public TargetAttachment targetAttachment;
|
||||||
//public Item item;
|
//public Item item;
|
||||||
|
|
||||||
private void Awake()
|
private void Awake()
|
||||||
{
|
{
|
||||||
rectTransform = GetComponent<RectTransform>();
|
rectTransform = GetComponent<RectTransform>();
|
||||||
image = transform.GetComponentInChildren<Image>();
|
|
||||||
|
if(image == null)
|
||||||
|
{
|
||||||
|
Image[] images = transform.GetComponentsInChildren<Image>();
|
||||||
|
for(int i = 0; i < images.Length; i++)
|
||||||
|
{
|
||||||
|
if(images[i] == GetComponent<Image>())
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
image = transform.GetComponentInChildren<Image>();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if(image == null)
|
||||||
|
{
|
||||||
|
Debug.LogError("ItemUI: Item needs an Image component.");
|
||||||
|
}
|
||||||
|
|
||||||
canvasGroup = GetComponent<CanvasGroup>();
|
canvasGroup = GetComponent<CanvasGroup>();
|
||||||
renderProp = GetComponent<RenderItemUIProperty>();
|
renderProp = GetComponent<RenderItemUIProperty>();
|
||||||
limitStackSlotCapacity = GetComponent<LimitStackSlotCapacity>();
|
limitStackSlotCapacity = GetComponent<LimitStackSlotCapacity>();
|
||||||
@ -76,8 +100,7 @@ namespace SimpleInventorySystem
|
|||||||
Debug.LogError("Inventory ItemUI must contain a positive integer value for Width and Height: " + name);
|
Debug.LogError("Inventory ItemUI must contain a positive integer value for Width and Height: " + name);
|
||||||
}
|
}
|
||||||
|
|
||||||
Transform handler = transform.Find("Handler");
|
int eulerAngle = Mathf.Abs(Mathf.CeilToInt(transform.rotation.eulerAngles.z));
|
||||||
int eulerAngle = Mathf.Abs(Mathf.CeilToInt(handler.rotation.eulerAngles.z));
|
|
||||||
switch (eulerAngle)
|
switch (eulerAngle)
|
||||||
{
|
{
|
||||||
case 270:
|
case 270:
|
||||||
@ -161,7 +184,7 @@ namespace SimpleInventorySystem
|
|||||||
if (slot == null)
|
if (slot == null)
|
||||||
{
|
{
|
||||||
Debug.Log("ItemUI: OnEndDrag: Returning to parent");
|
Debug.Log("ItemUI: OnEndDrag: Returning to parent");
|
||||||
ReturnToSlot();
|
//ReturnToSlot();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -180,7 +203,12 @@ namespace SimpleInventorySystem
|
|||||||
//Debug.Log("OnBeginDrag");
|
//Debug.Log("OnBeginDrag");
|
||||||
canvasGroup.alpha = .7f;
|
canvasGroup.alpha = .7f;
|
||||||
canvasGroup.blocksRaycasts = false;
|
canvasGroup.blocksRaycasts = false;
|
||||||
SetImageScale(1);
|
|
||||||
|
image.rectTransform.SetSizeWithCurrentAnchors(RectTransform.Axis.Horizontal, oldImageSizeDelta.x);
|
||||||
|
image.rectTransform.SetSizeWithCurrentAnchors(RectTransform.Axis.Vertical, oldImageSizeDelta.y);
|
||||||
|
rectTransform.SetSizeWithCurrentAnchors(RectTransform.Axis.Horizontal, oldSizeDelta.x);
|
||||||
|
rectTransform.SetSizeWithCurrentAnchors(RectTransform.Axis.Vertical, oldSizeDelta.y);
|
||||||
|
|
||||||
if (slot != null)
|
if (slot != null)
|
||||||
previousSlot = slot;
|
previousSlot = slot;
|
||||||
transform.SetParent(canvas.transform);
|
transform.SetParent(canvas.transform);
|
||||||
@ -258,11 +286,21 @@ namespace SimpleInventorySystem
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
public void SetImageScale(float scale)
|
public void FitImageInSlot(Vector2 size)
|
||||||
{
|
{
|
||||||
image.transform.localScale /= this.scale;
|
Debug.Log("FitImageInSlot: " + image.transform.name);
|
||||||
this.scale = scale;
|
float ratio = size.y / image.rectTransform.sizeDelta.y;
|
||||||
image.transform.localScale *= scale;
|
rectTransform.SetSizeWithCurrentAnchors(RectTransform.Axis.Horizontal, size.x);
|
||||||
|
rectTransform.SetSizeWithCurrentAnchors(RectTransform.Axis.Vertical, size.y);
|
||||||
|
image.rectTransform.SetSizeWithCurrentAnchors(RectTransform.Axis.Horizontal, size.y);
|
||||||
|
image.rectTransform.SetSizeWithCurrentAnchors(RectTransform.Axis.Vertical, size.y);
|
||||||
|
/* image.rectTransform.SetSizeWithCurrentAnchors(RectTransform.Axis.Vertical, size.y);// = new Vector2(image.rectTransform.sizeDelta.x * ratio, size.y);
|
||||||
|
Debug.Log(oldImageSizeDelta + ", " + oldSizeDelta);
|
||||||
|
this.rectTransform.SetSizeWithCurrentAnchors(RectTransform.Axis.Vertical, size.y); ;*/
|
||||||
|
//image.transform.localScale *= ratio;
|
||||||
|
|
||||||
|
//this.scale = scale;
|
||||||
|
//image.transform.localScale *= scale;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void SetSlot(SlotUI slot)
|
public void SetSlot(SlotUI slot)
|
||||||
@ -274,7 +312,7 @@ namespace SimpleInventorySystem
|
|||||||
// TODO: Make sure it was dropped somewhere, if not, return it to the original parent
|
// TODO: Make sure it was dropped somewhere, if not, return it to the original parent
|
||||||
public void ReturnToSlot()
|
public void ReturnToSlot()
|
||||||
{
|
{
|
||||||
if (previousSlot != null)
|
if (previousSlot != null && !isDragging)
|
||||||
{
|
{
|
||||||
Debug.Log("RETURNED: " + previousSlot.gameObject.name);
|
Debug.Log("RETURNED: " + previousSlot.gameObject.name);
|
||||||
previousSlot.DropOntoSlot(this.gameObject);
|
previousSlot.DropOntoSlot(this.gameObject);
|
||||||
@ -284,6 +322,10 @@ namespace SimpleInventorySystem
|
|||||||
// Start is called\ before the first frame update
|
// Start is called\ before the first frame update
|
||||||
void Start()
|
void Start()
|
||||||
{
|
{
|
||||||
|
oldImageSizeDelta = image.rectTransform.sizeDelta;
|
||||||
|
oldSizeDelta = this.rectTransform.sizeDelta;
|
||||||
|
// TODO: Possibly have item image scale into slot here.
|
||||||
|
|
||||||
imageSizeOnGrid = new Size(width * InventorySystem.instance.DefaultSizeOnGrid.Width, height * InventorySystem.instance.DefaultSizeOnGrid.Height);
|
imageSizeOnGrid = new Size(width * InventorySystem.instance.DefaultSizeOnGrid.Width, height * InventorySystem.instance.DefaultSizeOnGrid.Height);
|
||||||
|
|
||||||
if (canvas == null)
|
if (canvas == null)
|
||||||
@ -391,17 +433,17 @@ namespace SimpleInventorySystem
|
|||||||
|
|
||||||
void FixedUpdate()
|
void FixedUpdate()
|
||||||
{
|
{
|
||||||
if (isDragging)
|
|
||||||
{
|
|
||||||
// TODO: fix this
|
|
||||||
rectTransform.position = InventorySystem.instance.MouseInCanvasPosition;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Update is called once per frame
|
// Update is called once per frame
|
||||||
void Update()
|
void Update()
|
||||||
{
|
{
|
||||||
if(PointerIsHoveredOver && InventorySystem.instance.DraggedItem == null)
|
if (isDragging)
|
||||||
|
{
|
||||||
|
// TODO: fix this
|
||||||
|
rectTransform.position = InventorySystem.instance.MouseInCanvasPosition;
|
||||||
|
}
|
||||||
|
if (PointerIsHoveredOver && InventorySystem.instance.DraggedItem == null)
|
||||||
{
|
{
|
||||||
if (Input.GetMouseButtonDown(0) && !isDragging && InventorySystem.instance.DraggedItem == null && !slot.DroppedOnFrame)
|
if (Input.GetMouseButtonDown(0) && !isDragging && InventorySystem.instance.DraggedItem == null && !slot.DroppedOnFrame)
|
||||||
{
|
{
|
||||||
@ -428,32 +470,48 @@ namespace SimpleInventorySystem
|
|||||||
|
|
||||||
if (InventorySystem.instance.PressedKeyRotation(true))
|
if (InventorySystem.instance.PressedKeyRotation(true))
|
||||||
{
|
{
|
||||||
//Debug.Log("Rotate");
|
Debug.Log("Rotate");
|
||||||
Transform handler = transform.Find("Handler");
|
RectTransform handler = (RectTransform)transform;
|
||||||
handler.Rotate(new Vector3(0, 0, 1), -90);
|
int eulerAngle = Mathf.Abs(Mathf.CeilToInt(handler.rotation.eulerAngles.z)) - 90;
|
||||||
handler.localPosition = new Vector3(0, 0, 0);
|
Debug.Log("euler" + eulerAngle);
|
||||||
int eulerAngle = Mathf.Abs(Mathf.CeilToInt(handler.rotation.eulerAngles.z));
|
|
||||||
//Debug.Log(imageSizeOnGrid.width + ", " + imageSizeOnGrid.height);
|
|
||||||
switch (eulerAngle)
|
switch (eulerAngle)
|
||||||
{
|
{
|
||||||
case 270:
|
case -90:
|
||||||
handler.localPosition = new Vector3(imageSizeOnGrid.Width / 4, 0, 0);
|
rectTransform.pivot = new Vector2(0,0);
|
||||||
|
rectTransform.Rotate(new Vector3(0, 0, 1), -90);
|
||||||
imageOrientation = (width > height) ? Orientation.Portrait : Orientation.Landscape;
|
imageOrientation = (width > height) ? Orientation.Portrait : Orientation.Landscape;
|
||||||
break;
|
break;
|
||||||
case 180:
|
case 180:
|
||||||
handler.localPosition = new Vector3(imageSizeOnGrid.Width / 2, -imageSizeOnGrid.Height / 2, 0);
|
rectTransform.pivot = new Vector2(1, 0);
|
||||||
|
handler.Rotate(new Vector3(0, 0, 1), -90);
|
||||||
imageOrientation = (width > height) ? Orientation.Landscape : Orientation.Portrait;
|
imageOrientation = (width > height) ? Orientation.Landscape : Orientation.Portrait;
|
||||||
break;
|
break;
|
||||||
case 90:
|
case 90:
|
||||||
handler.localPosition = new Vector3(0, -imageSizeOnGrid.Height, 0);
|
rectTransform.pivot = new Vector2(1, 1);
|
||||||
|
handler.Rotate(new Vector3(0, 0, 1), -90);
|
||||||
imageOrientation = (width > height) ? Orientation.Portrait : Orientation.Landscape;
|
imageOrientation = (width > height) ? Orientation.Portrait : Orientation.Landscape;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
handler.Rotate(new Vector3(0, 0, 1), -90);
|
||||||
handler.localPosition = new Vector3(0, 0, 0);
|
handler.localPosition = new Vector3(0, 0, 0);
|
||||||
|
handler.pivot = new Vector2(0, 1);
|
||||||
imageOrientation = (width > height) ? Orientation.Landscape : Orientation.Portrait;
|
imageOrientation = (width > height) ? Orientation.Landscape : Orientation.Portrait;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (InventorySystem.instance.PressedDropItemKey(true))
|
||||||
|
{
|
||||||
|
if(pickUp == null)
|
||||||
|
{
|
||||||
|
// TODO: Create a new pickup for items without a gameobject attached
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
isDragging = false;
|
||||||
|
InventorySystem.instance.DraggedItem = null;
|
||||||
|
|
||||||
|
InventorySystem.instance.player.DetachItemGameObject(pickUp.ItemGameObject, this);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -32,10 +32,8 @@ namespace SimpleInventorySystem
|
|||||||
}
|
}
|
||||||
public bool StackItemsOnSlot;
|
public bool StackItemsOnSlot;
|
||||||
[HideInInspector] public Stack<ItemUI> stackedItems = new Stack<ItemUI>(); // WARNING: Stack can give some odd troubles with the raycast, consider revision or consideration.
|
[HideInInspector] public Stack<ItemUI> stackedItems = new Stack<ItemUI>(); // WARNING: Stack can give some odd troubles with the raycast, consider revision or consideration.
|
||||||
[HideInInspector] public GroupSlotUI groupSlot;
|
public List<GroupSlotUI> groupSlots;
|
||||||
private AppendUI appendUI;
|
private AppendUI appendUI;
|
||||||
[SerializeField] public int cellX;
|
|
||||||
[SerializeField] public int cellY;
|
|
||||||
public bool EquipSlot;
|
public bool EquipSlot;
|
||||||
public List<SlotUI> LinkedSlots = new List<SlotUI>();
|
public List<SlotUI> LinkedSlots = new List<SlotUI>();
|
||||||
private LinkedSlotUI linkedSlotUI;
|
private LinkedSlotUI linkedSlotUI;
|
||||||
@ -46,6 +44,7 @@ namespace SimpleInventorySystem
|
|||||||
[HideInInspector] public LimitStackSlotManager limitStackSlotManager;
|
[HideInInspector] public LimitStackSlotManager limitStackSlotManager;
|
||||||
private SlotUI BelongsToItemInSlot;
|
private SlotUI BelongsToItemInSlot;
|
||||||
public List<SlotUI> HasSlotsBelongingToItem;
|
public List<SlotUI> HasSlotsBelongingToItem;
|
||||||
|
public bool IgnoreItemSize;
|
||||||
|
|
||||||
internal ItemUI GetItemUI()
|
internal ItemUI GetItemUI()
|
||||||
{
|
{
|
||||||
@ -54,8 +53,10 @@ namespace SimpleInventorySystem
|
|||||||
|
|
||||||
public float imageScale = 1f;
|
public float imageScale = 1f;
|
||||||
public List<ItemTags> AllowedItemTags;
|
public List<ItemTags> AllowedItemTags;
|
||||||
|
public List<ItemTags> DisallowedItemTags;
|
||||||
|
|
||||||
public bool DroppedOnFrame;
|
[HideInInspector] public bool DroppedOnFrame;
|
||||||
|
public bool FitItemImageInSlotImage = false;
|
||||||
|
|
||||||
/*public void OnDrop(PointerEventData eventData)
|
/*public void OnDrop(PointerEventData eventData)
|
||||||
{
|
{
|
||||||
@ -83,8 +84,9 @@ namespace SimpleInventorySystem
|
|||||||
ItemTags itemTag = itemDrop.ItemTag;
|
ItemTags itemTag = itemDrop.ItemTag;
|
||||||
|
|
||||||
bool allowed = AllowedItemTags == null || AllowedItemTags.Count == 0 || AllowedItemTags.Contains(ItemTags.Any) || AllowedItemTags.Contains(itemTag);
|
bool allowed = AllowedItemTags == null || AllowedItemTags.Count == 0 || AllowedItemTags.Contains(ItemTags.Any) || AllowedItemTags.Contains(itemTag);
|
||||||
|
bool disallowed = DisallowedItemTags.Contains(itemTag);
|
||||||
|
|
||||||
if (!allowed)
|
if (!allowed || disallowed)
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@ -157,7 +159,11 @@ namespace SimpleInventorySystem
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool dropCheck = (grid != null && grid.CanMoveInCells(itemDrop, this, occupiedCells) || (grid == null && !cell.inUse));
|
bool dropCheck = (grid != null && grid.CanMoveInCells(itemDrop, this, occupiedCells)) ||
|
||||||
|
(grid == null && !cell.inUse && (IgnoreItemSize || (cell.slot.width >= itemDrop.SizeAfterOrientation().Width && !cell.inUse && cell.slot.height >= itemDrop.SizeAfterOrientation().Height)));
|
||||||
|
|
||||||
|
Debug.Log("DropCheck" + (grid == null
|
||||||
|
&& !cell.inUse && (IgnoreItemSize || (cell.slot.width >= itemDrop.SizeAfterOrientation().Width && !cell.inUse && cell.slot.height >= itemDrop.SizeAfterOrientation().Height))));
|
||||||
|
|
||||||
/*Debug.Log("GridUI: DropOntoSlot(): " + gameObject.name + ": " + "dropCheck: " + dropCheck);
|
/*Debug.Log("GridUI: DropOntoSlot(): " + gameObject.name + ": " + "dropCheck: " + dropCheck);
|
||||||
Debug.Log("GridUI: DropOntoSlot(): " + gameObject.name + ": " + "allowed: " + allowed);*/
|
Debug.Log("GridUI: DropOntoSlot(): " + gameObject.name + ": " + "allowed: " + allowed);*/
|
||||||
@ -184,7 +190,8 @@ namespace SimpleInventorySystem
|
|||||||
item.GetComponent<Transform>().SetParent(parent);
|
item.GetComponent<Transform>().SetParent(parent);
|
||||||
item.GetComponent<RectTransform>().anchoredPosition = GetComponent<RectTransform>().anchoredPosition;
|
item.GetComponent<RectTransform>().anchoredPosition = GetComponent<RectTransform>().anchoredPosition;
|
||||||
//item.GetComponent<RectTransform>().pivot = new Vector2(0, 1);
|
//item.GetComponent<RectTransform>().pivot = new Vector2(0, 1);
|
||||||
itemDrop.SetImageScale(imageScale);
|
if(FitItemImageInSlotImage)
|
||||||
|
itemDrop.FitImageInSlot(GetComponent<RectTransform>().sizeDelta);
|
||||||
itemDrop.SetSlot(this);
|
itemDrop.SetSlot(this);
|
||||||
|
|
||||||
stackedItems.Push(itemDrop);
|
stackedItems.Push(itemDrop);
|
||||||
@ -217,10 +224,15 @@ namespace SimpleInventorySystem
|
|||||||
}
|
}
|
||||||
HideImage();
|
HideImage();
|
||||||
|
|
||||||
if (groupSlot != null)
|
foreach (GroupSlotUI groupSlot in groupSlots)
|
||||||
{
|
{
|
||||||
groupSlot.OnItemDropped();
|
|
||||||
|
if (groupSlot != null)
|
||||||
|
{
|
||||||
|
groupSlot.OnItemDropped();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (appendUI != null)
|
if (appendUI != null)
|
||||||
{
|
{
|
||||||
Debug.Log("Test");
|
Debug.Log("Test");
|
||||||
@ -426,13 +438,13 @@ namespace SimpleInventorySystem
|
|||||||
linked.RemoveDragDropItem();
|
linked.RemoveDragDropItem();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (groupSlot != null)
|
stackedItems.Pop();
|
||||||
|
|
||||||
|
foreach (GroupSlotUI groupSlot in groupSlots)
|
||||||
{
|
{
|
||||||
groupSlot.OnItemRemoved();
|
groupSlot.OnItemRemoved();
|
||||||
}
|
}
|
||||||
|
|
||||||
stackedItems.Pop();
|
|
||||||
|
|
||||||
UnsetCell();
|
UnsetCell();
|
||||||
|
|
||||||
SetRenderItemUIPropertyValue();
|
SetRenderItemUIPropertyValue();
|
||||||
@ -539,8 +551,6 @@ namespace SimpleInventorySystem
|
|||||||
public void SetCell(Cell cell)
|
public void SetCell(Cell cell)
|
||||||
{
|
{
|
||||||
this.cell = cell;
|
this.cell = cell;
|
||||||
cellX = this.cell.X;
|
|
||||||
cellY = this.cell.Y;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
internal void HideImage()
|
internal void HideImage()
|
||||||
|
@ -1,10 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: c310a300a0358f94f81e0eeb585d6cf4
|
|
||||||
folderAsset: yes
|
|
||||||
timeCreated: 1568740068
|
|
||||||
licenseType: Store
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
Loading…
Reference in New Issue
Block a user