Made Changes To slotted items (not fully functional but progressing)

Added Unity events to the Slotting Items, the eyes react fine but sometimes they fuck up. gonna check that out later.
This commit is contained in:
2025-09-11 17:03:56 +02:00
parent 15b8146815
commit 9b590ca6ec
15 changed files with 455 additions and 409 deletions

View File

@@ -11,7 +11,7 @@ GameObject:
- component: {fileID: 779234943217098985}
- component: {fileID: 7990414055343410434}
m_Layer: 0
m_Name: SlottedItem
m_Name: SlottedItemB
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
@@ -26,7 +26,7 @@ Transform:
m_GameObject: {fileID: 1985797937494910982}
serializedVersion: 2
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalPosition: {x: -0.279, y: -0.097, z: 0}
m_LocalScale: {x: 0.5, y: 0.5, z: 0.5}
m_ConstrainProportionsScale: 0
m_Children: []
@@ -99,7 +99,6 @@ GameObject:
- component: {fileID: 6583028881099676536}
- component: {fileID: 8374056515464764762}
- component: {fileID: 4289780218821574471}
- component: {fileID: 4191908717467096214}
- component: {fileID: 3093816592344978065}
- component: {fileID: 8758136668472096799}
m_Layer: 10
@@ -238,20 +237,21 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 73d6494a73174ffabc6a7d3089d51e73, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!114 &4191908717467096214
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5835735262203788332}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 7846448751da4bdbaaa5cb87890dca42, type: 3}
m_Name:
m_EditorClassIdentifier:
itemData: {fileID: 11400000, guid: f97b9e24d6dceb145b56426c1152ebeb, type: 2}
iconRenderer: {fileID: 6583028881099676536}
isOneTime: 0
cooldown: -1
characterToInteract: 1
interactionStarted:
m_PersistentCalls:
m_Calls: []
interactionInterrupted:
m_PersistentCalls:
m_Calls: []
characterArrived:
m_PersistentCalls:
m_Calls: []
interactionComplete:
m_PersistentCalls:
m_Calls: []
--- !u!114 &3093816592344978065
MonoBehaviour:
m_ObjectHideFlags: 0
@@ -264,14 +264,24 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: ec1a2e6e32f746c4990c579e13b79104, type: 3}
m_Name:
m_EditorClassIdentifier:
OnSuccess:
itemData: {fileID: 11400000, guid: f97b9e24d6dceb145b56426c1152ebeb, type: 2}
iconRenderer: {fileID: 6583028881099676536}
onItemSlotted:
m_PersistentCalls:
m_Calls: []
OnFailure:
onItemSlotRemoved:
m_PersistentCalls:
m_Calls: []
currentlySlottedItem: {fileID: 0}
slottedItemRenderer: {fileID: 0}
onCorrectItemSlotted:
m_PersistentCalls:
m_Calls: []
onIncorrectItemSlotted:
m_PersistentCalls:
m_Calls: []
onForbiddenItemSlotted:
m_PersistentCalls:
m_Calls: []
slottedItemRenderer: {fileID: 7990414055343410434}
--- !u!114 &8758136668472096799
MonoBehaviour:
m_ObjectHideFlags: 0