Fixed some more issues

dev-main
Hazim Bin Ijaz 4 days ago
parent 3dc3384ef8
commit 1988e671e5

@ -392,4 +392,4 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
outlineMaterial: {fileID: 2100000, guid: 7d59a0e48d5e5a34bbc8919ff8e3cecd, type: 2}
outlineWidth: 0.1
outlineWidth: 0.05

@ -264,8 +264,30 @@ PrefabInstance:
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_AddedComponents:
- targetCorrespondingSourceObject: {fileID: 5030026287609072153, guid: fff6e45d90fa4c141921fd09284abc1a, type: 3}
insertIndex: -1
addedObject: {fileID: 7148004982667860444}
m_SourcePrefab: {fileID: 100100000, guid: fff6e45d90fa4c141921fd09284abc1a, type: 3}
--- !u!1 &1161029739519873713 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 5030026287609072153, guid: fff6e45d90fa4c141921fd09284abc1a, type: 3}
m_PrefabInstance: {fileID: 6184269291554068648}
m_PrefabAsset: {fileID: 0}
--- !u!114 &7148004982667860444
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1161029739519873713}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: ed44dc3c5c8107d499c6223ba1366b68, type: 3}
m_Name:
m_EditorClassIdentifier:
outlineMaterial: {fileID: 2100000, guid: 7d59a0e48d5e5a34bbc8919ff8e3cecd, type: 2}
outlineWidth: 0.05
--- !u!4 &3031108161826987198 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 9206018409988604950, guid: fff6e45d90fa4c141921fd09284abc1a, type: 3}

@ -69,34 +69,34 @@ PrefabInstance:
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents:
- targetCorrespondingSourceObject: {fileID: 6069266980640121836, guid: d850c7fb35f2afc49b37cb3691fca59d, type: 3}
- targetCorrespondingSourceObject: {fileID: 247286024415336201, guid: d850c7fb35f2afc49b37cb3691fca59d, type: 3}
insertIndex: -1
addedObject: {fileID: 8698181785715692114}
addedObject: {fileID: 5342463948670510674}
m_SourcePrefab: {fileID: 100100000, guid: d850c7fb35f2afc49b37cb3691fca59d, type: 3}
--- !u!1 &738510113788701076 stripped
--- !u!4 &4895422135797063200 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 2158879392026317912, guid: d850c7fb35f2afc49b37cb3691fca59d, type: 3}
m_PrefabInstance: {fileID: 6775077541308222072}
m_PrefabAsset: {fileID: 0}
--- !u!1 &6731580121588079985 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 6069266980640121836, guid: d850c7fb35f2afc49b37cb3691fca59d, type: 3}
m_CorrespondingSourceObject: {fileID: 247286024415336201, guid: d850c7fb35f2afc49b37cb3691fca59d, type: 3}
m_PrefabInstance: {fileID: 6775077541308222072}
m_PrefabAsset: {fileID: 0}
--- !u!114 &8698181785715692114
--- !u!114 &5342463948670510674
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 738510113788701076}
m_GameObject: {fileID: 6731580121588079985}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: ed44dc3c5c8107d499c6223ba1366b68, type: 3}
m_Name:
m_EditorClassIdentifier:
outlineMaterial: {fileID: 2100000, guid: 7d59a0e48d5e5a34bbc8919ff8e3cecd, type: 2}
outlineWidth: 0.1
--- !u!4 &4895422135797063200 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 2158879392026317912, guid: d850c7fb35f2afc49b37cb3691fca59d, type: 3}
m_PrefabInstance: {fileID: 6775077541308222072}
m_PrefabAsset: {fileID: 0}
outlineWidth: 0.05
--- !u!1001 &7532773503049382330
PrefabInstance:
m_ObjectHideFlags: 0

File diff suppressed because it is too large Load Diff

@ -288,6 +288,22 @@ PrefabInstance:
propertyPath: m_Materials.Array.size
value: 1
objectReference: {fileID: 0}
- target: {fileID: 3280519133223516628, guid: a71be3e7990efb040a07565c43cbb198, type: 3}
propertyPath: InitialModule.startColor.maxColor.a
value: 0.50980395
objectReference: {fileID: 0}
- target: {fileID: 3280519133223516628, guid: a71be3e7990efb040a07565c43cbb198, type: 3}
propertyPath: InitialModule.startColor.maxColor.b
value: 0.7058824
objectReference: {fileID: 0}
- target: {fileID: 3280519133223516628, guid: a71be3e7990efb040a07565c43cbb198, type: 3}
propertyPath: InitialModule.startColor.maxColor.g
value: 0.4117647
objectReference: {fileID: 0}
- target: {fileID: 3280519133223516628, guid: a71be3e7990efb040a07565c43cbb198, type: 3}
propertyPath: InitialModule.startColor.maxColor.r
value: 1
objectReference: {fileID: 0}
- target: {fileID: 3280519133223516629, guid: a71be3e7990efb040a07565c43cbb198, type: 3}
propertyPath: m_Materials.Array.size
value: 1
@ -609,6 +625,22 @@ PrefabInstance:
propertyPath: m_Materials.Array.size
value: 1
objectReference: {fileID: 0}
- target: {fileID: 3280519133223516628, guid: a71be3e7990efb040a07565c43cbb198, type: 3}
propertyPath: InitialModule.startColor.maxColor.a
value: 0.50980395
objectReference: {fileID: 0}
- target: {fileID: 3280519133223516628, guid: a71be3e7990efb040a07565c43cbb198, type: 3}
propertyPath: InitialModule.startColor.maxColor.b
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3280519133223516628, guid: a71be3e7990efb040a07565c43cbb198, type: 3}
propertyPath: InitialModule.startColor.maxColor.g
value: 0.84313726
objectReference: {fileID: 0}
- target: {fileID: 3280519133223516628, guid: a71be3e7990efb040a07565c43cbb198, type: 3}
propertyPath: InitialModule.startColor.maxColor.r
value: 1
objectReference: {fileID: 0}
- target: {fileID: 3280519133223516629, guid: a71be3e7990efb040a07565c43cbb198, type: 3}
propertyPath: m_Materials.Array.size
value: 1
@ -948,6 +980,22 @@ PrefabInstance:
propertyPath: m_Materials.Array.size
value: 1
objectReference: {fileID: 0}
- target: {fileID: 3280519133223516628, guid: a71be3e7990efb040a07565c43cbb198, type: 3}
propertyPath: InitialModule.startColor.maxColor.a
value: 0.50980395
objectReference: {fileID: 0}
- target: {fileID: 3280519133223516628, guid: a71be3e7990efb040a07565c43cbb198, type: 3}
propertyPath: InitialModule.startColor.maxColor.b
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3280519133223516628, guid: a71be3e7990efb040a07565c43cbb198, type: 3}
propertyPath: InitialModule.startColor.maxColor.g
value: 0.27058825
objectReference: {fileID: 0}
- target: {fileID: 3280519133223516628, guid: a71be3e7990efb040a07565c43cbb198, type: 3}
propertyPath: InitialModule.startColor.maxColor.r
value: 1
objectReference: {fileID: 0}
- target: {fileID: 3280519133223516629, guid: a71be3e7990efb040a07565c43cbb198, type: 3}
propertyPath: m_Materials.Array.size
value: 1
@ -1357,6 +1405,22 @@ PrefabInstance:
propertyPath: m_Materials.Array.size
value: 1
objectReference: {fileID: 0}
- target: {fileID: 3280519133223516628, guid: a71be3e7990efb040a07565c43cbb198, type: 3}
propertyPath: InitialModule.startColor.maxColor.a
value: 0.50980395
objectReference: {fileID: 0}
- target: {fileID: 3280519133223516628, guid: a71be3e7990efb040a07565c43cbb198, type: 3}
propertyPath: InitialModule.startColor.maxColor.b
value: 0.19607843
objectReference: {fileID: 0}
- target: {fileID: 3280519133223516628, guid: a71be3e7990efb040a07565c43cbb198, type: 3}
propertyPath: InitialModule.startColor.maxColor.g
value: 0.8039216
objectReference: {fileID: 0}
- target: {fileID: 3280519133223516628, guid: a71be3e7990efb040a07565c43cbb198, type: 3}
propertyPath: InitialModule.startColor.maxColor.r
value: 0.19607843
objectReference: {fileID: 0}
- target: {fileID: 3280519133223516629, guid: a71be3e7990efb040a07565c43cbb198, type: 3}
propertyPath: m_Materials.Array.size
value: 1
@ -1601,6 +1665,22 @@ PrefabInstance:
propertyPath: m_Materials.Array.size
value: 1
objectReference: {fileID: 0}
- target: {fileID: 3280519133223516628, guid: a71be3e7990efb040a07565c43cbb198, type: 3}
propertyPath: InitialModule.startColor.maxColor.a
value: 0.50980395
objectReference: {fileID: 0}
- target: {fileID: 3280519133223516628, guid: a71be3e7990efb040a07565c43cbb198, type: 3}
propertyPath: InitialModule.startColor.maxColor.b
value: 0.81960785
objectReference: {fileID: 0}
- target: {fileID: 3280519133223516628, guid: a71be3e7990efb040a07565c43cbb198, type: 3}
propertyPath: InitialModule.startColor.maxColor.g
value: 0.80784315
objectReference: {fileID: 0}
- target: {fileID: 3280519133223516628, guid: a71be3e7990efb040a07565c43cbb198, type: 3}
propertyPath: InitialModule.startColor.maxColor.r
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3280519133223516629, guid: a71be3e7990efb040a07565c43cbb198, type: 3}
propertyPath: m_Materials.Array.size
value: 1
@ -1739,6 +1819,22 @@ PrefabInstance:
propertyPath: m_Materials.Array.size
value: 1
objectReference: {fileID: 0}
- target: {fileID: 3280519133223516628, guid: a71be3e7990efb040a07565c43cbb198, type: 3}
propertyPath: InitialModule.startColor.maxColor.a
value: 0.50980395
objectReference: {fileID: 0}
- target: {fileID: 3280519133223516628, guid: a71be3e7990efb040a07565c43cbb198, type: 3}
propertyPath: InitialModule.startColor.maxColor.b
value: 1
objectReference: {fileID: 0}
- target: {fileID: 3280519133223516628, guid: a71be3e7990efb040a07565c43cbb198, type: 3}
propertyPath: InitialModule.startColor.maxColor.g
value: 0.5647059
objectReference: {fileID: 0}
- target: {fileID: 3280519133223516628, guid: a71be3e7990efb040a07565c43cbb198, type: 3}
propertyPath: InitialModule.startColor.maxColor.r
value: 0.11764706
objectReference: {fileID: 0}
- target: {fileID: 3280519133223516629, guid: a71be3e7990efb040a07565c43cbb198, type: 3}
propertyPath: m_Materials.Array.size
value: 1
@ -1877,6 +1973,22 @@ PrefabInstance:
propertyPath: m_Materials.Array.size
value: 1
objectReference: {fileID: 0}
- target: {fileID: 3280519133223516628, guid: a71be3e7990efb040a07565c43cbb198, type: 3}
propertyPath: InitialModule.startColor.maxColor.a
value: 0.50980395
objectReference: {fileID: 0}
- target: {fileID: 3280519133223516628, guid: a71be3e7990efb040a07565c43cbb198, type: 3}
propertyPath: InitialModule.startColor.maxColor.b
value: 0.8862745
objectReference: {fileID: 0}
- target: {fileID: 3280519133223516628, guid: a71be3e7990efb040a07565c43cbb198, type: 3}
propertyPath: InitialModule.startColor.maxColor.g
value: 0.16862746
objectReference: {fileID: 0}
- target: {fileID: 3280519133223516628, guid: a71be3e7990efb040a07565c43cbb198, type: 3}
propertyPath: InitialModule.startColor.maxColor.r
value: 0.5411765
objectReference: {fileID: 0}
- target: {fileID: 3280519133223516629, guid: a71be3e7990efb040a07565c43cbb198, type: 3}
propertyPath: m_Materials.Array.size
value: 1

@ -328,6 +328,10 @@ PrefabInstance:
propertyPath: m_Name
value: IngameDebugConsole
objectReference: {fileID: 0}
- target: {fileID: 132536, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
- target: {fileID: 11414302, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
propertyPath: m_Value
value: 1
@ -338,59 +342,59 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 22426080, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
propertyPath: m_AnchorMax.x
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 22426080, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
propertyPath: m_AnchorMax.y
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 22428984, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
propertyPath: m_AnchorMax.y
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 22428984, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
propertyPath: m_AnchorMin.y
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 22428984, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
propertyPath: m_SizeDelta.x
value: 0
value: 136.33334
objectReference: {fileID: 0}
- target: {fileID: 22428984, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
propertyPath: m_SizeDelta.y
value: 0
value: 36
objectReference: {fileID: 0}
- target: {fileID: 22428984, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
value: 589.50006
objectReference: {fileID: 0}
- target: {fileID: 22428984, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
propertyPath: m_AnchoredPosition.y
value: 0
value: -18
objectReference: {fileID: 0}
- target: {fileID: 22455554, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
propertyPath: m_AnchorMax.y
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 22455554, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
propertyPath: m_AnchorMin.y
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 22455554, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
propertyPath: m_SizeDelta.x
value: 0
value: 136.33334
objectReference: {fileID: 0}
- target: {fileID: 22455554, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
propertyPath: m_SizeDelta.y
value: 0
value: 36
objectReference: {fileID: 0}
- target: {fileID: 22455554, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
value: 725.83344
objectReference: {fileID: 0}
- target: {fileID: 22455554, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
propertyPath: m_AnchoredPosition.y
value: 0
value: -18
objectReference: {fileID: 0}
- target: {fileID: 22457152, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
propertyPath: m_Pivot.x
@ -474,123 +478,123 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 22468896, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
propertyPath: m_AnchorMax.y
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 22468896, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
propertyPath: m_AnchorMin.y
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 22468896, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
propertyPath: m_SizeDelta.x
value: 0
value: 136.33334
objectReference: {fileID: 0}
- target: {fileID: 22468896, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
propertyPath: m_SizeDelta.y
value: 0
value: 36
objectReference: {fileID: 0}
- target: {fileID: 22468896, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
value: 998.5002
objectReference: {fileID: 0}
- target: {fileID: 22468896, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
propertyPath: m_AnchoredPosition.y
value: 0
value: -18
objectReference: {fileID: 0}
- target: {fileID: 22488670, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
propertyPath: m_AnchorMax.y
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 22488670, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
propertyPath: m_AnchorMin.y
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 22488670, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
propertyPath: m_SizeDelta.x
value: 0
value: 136.33334
objectReference: {fileID: 0}
- target: {fileID: 22488670, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
propertyPath: m_SizeDelta.y
value: 0
value: 36
objectReference: {fileID: 0}
- target: {fileID: 22488670, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
value: 204.50002
objectReference: {fileID: 0}
- target: {fileID: 22488670, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
propertyPath: m_AnchoredPosition.y
value: 0
value: -18
objectReference: {fileID: 0}
- target: {fileID: 22495692, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
propertyPath: m_AnchorMax.y
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 22495692, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
propertyPath: m_AnchorMin.y
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 22495692, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
propertyPath: m_SizeDelta.x
value: 0
value: 136.33334
objectReference: {fileID: 0}
- target: {fileID: 22495692, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
propertyPath: m_SizeDelta.y
value: 0
value: 36
objectReference: {fileID: 0}
- target: {fileID: 22495692, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
value: 862.1668
objectReference: {fileID: 0}
- target: {fileID: 22495692, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
propertyPath: m_AnchoredPosition.y
value: 0
value: -18
objectReference: {fileID: 0}
- target: {fileID: 224619367409363176, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
propertyPath: m_AnchorMax.y
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 224619367409363176, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
propertyPath: m_AnchorMin.y
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 224619367409363176, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
propertyPath: m_SizeDelta.x
value: 0
value: 248.66669
objectReference: {fileID: 0}
- target: {fileID: 224619367409363176, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
propertyPath: m_SizeDelta.y
value: 0
value: 36
objectReference: {fileID: 0}
- target: {fileID: 224619367409363176, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
value: 397.00003
objectReference: {fileID: 0}
- target: {fileID: 224619367409363176, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
propertyPath: m_AnchoredPosition.y
value: 0
value: -18
objectReference: {fileID: 0}
- target: {fileID: 224856348943071238, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
propertyPath: m_AnchorMax.y
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 224856348943071238, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
propertyPath: m_AnchorMin.y
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 224856348943071238, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
propertyPath: m_SizeDelta.x
value: 0
value: 136.33334
objectReference: {fileID: 0}
- target: {fileID: 224856348943071238, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
propertyPath: m_SizeDelta.y
value: 0
value: 36
objectReference: {fileID: 0}
- target: {fileID: 224856348943071238, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
value: 68.16667
objectReference: {fileID: 0}
- target: {fileID: 224856348943071238, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
propertyPath: m_AnchoredPosition.y
value: 0
value: -18
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []

@ -79,7 +79,6 @@ public class StaminaManager : MonoBehaviour
float previousStamina = currentStamina;
currentStamina += staminaRegenRate * Time.deltaTime;
currentStamina = Mathf.Min(currentStamina, maxStamina);
Debug.Log($"[StaminaManager] Regenerating: {previousStamina} → {currentStamina}/{maxStamina}");
if (currentStamina == maxStamina)
{

Loading…
Cancel
Save