Commit c932326c authored by Isa's avatar Isa
Browse files

HUD Test

parent a8a7b717
fileFormatVersion: 2
guid: bc43ac6a6d9af5e44b800027e40c1e84
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
......@@ -1183,7 +1183,7 @@ Transform:
m_LocalScale: {x: 4.749867, y: 10.27617, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 23
m_RootOrder: 24
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1001 &132361120
PrefabInstance:
......@@ -3872,7 +3872,7 @@ Transform:
- {fileID: 1694643540}
- {fileID: 2080599826}
m_Father: {fileID: 0}
m_RootOrder: 18
m_RootOrder: 19
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1001 &268156081
PrefabInstance:
......@@ -4001,7 +4001,7 @@ Transform:
- {fileID: 1401599868}
- {fileID: 2060524169}
m_Father: {fileID: 0}
m_RootOrder: 13
m_RootOrder: 14
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &332050589
GameObject:
......@@ -6896,7 +6896,7 @@ PrefabInstance:
- target: {fileID: 52145075018362285, guid: 2e3528907311e438dab0d393127aa332,
type: 3}
propertyPath: m_RootOrder
value: 4
value: 5
objectReference: {fileID: 0}
- target: {fileID: 52145075018362285, guid: 2e3528907311e438dab0d393127aa332,
type: 3}
......@@ -7022,7 +7022,7 @@ Transform:
m_Children:
- {fileID: 602143163}
m_Father: {fileID: 0}
m_RootOrder: 19
m_RootOrder: 20
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!4 &554033098 stripped
Transform:
......@@ -8841,7 +8841,7 @@ Transform:
- {fileID: 1884291994}
- {fileID: 240417423}
m_Father: {fileID: 0}
m_RootOrder: 7
m_RootOrder: 8
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &670026445
GameObject:
......@@ -10256,7 +10256,7 @@ PrefabInstance:
- target: {fileID: 2888112478438871478, guid: 50a0ddec8ac259c46a58a6b5324a759d,
type: 3}
propertyPath: m_RootOrder
value: 9
value: 10
objectReference: {fileID: 0}
- target: {fileID: 2888112478438871478, guid: 50a0ddec8ac259c46a58a6b5324a759d,
type: 3}
......@@ -10454,7 +10454,7 @@ Transform:
- {fileID: 635980250}
- {fileID: 632331631}
m_Father: {fileID: 0}
m_RootOrder: 15
m_RootOrder: 16
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!4 &777237982 stripped
Transform:
......@@ -10517,7 +10517,7 @@ PrefabInstance:
- target: {fileID: 8474030530107407621, guid: d15c6360ddc5f6d45994b7a8ad351996,
type: 3}
propertyPath: m_RootOrder
value: 11
value: 12
objectReference: {fileID: 0}
- target: {fileID: 8474030530107407621, guid: d15c6360ddc5f6d45994b7a8ad351996,
type: 3}
......@@ -10739,7 +10739,7 @@ Transform:
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 6
m_RootOrder: 7
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!68 &852283145
EdgeCollider2D:
......@@ -11184,7 +11184,7 @@ Transform:
m_Children:
- {fileID: 399322774}
m_Father: {fileID: 0}
m_RootOrder: 10
m_RootOrder: 11
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &924553758
GameObject:
......@@ -11253,7 +11253,7 @@ Transform:
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 5
m_RootOrder: 6
m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0}
--- !u!1 &933700279
GameObject:
......@@ -11513,6 +11513,18 @@ PrefabInstance:
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 3ff4cf871f5edaa40b0530c80a9ff9df, type: 3}
--- !u!114 &966943496 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 388107567, guid: 50a0ddec8ac259c46a58a6b5324a759d,
type: 3}
m_PrefabInstance: {fileID: 1029382647}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 8a4f569e0756fcf4484f5f0ff593e355, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!4 &977216931 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 8746327460217138312, guid: 615b74be12ac7ec4e9b491a7ef5cbbe1,
......@@ -12220,7 +12232,7 @@ PrefabInstance:
- target: {fileID: 2888112478438871478, guid: 50a0ddec8ac259c46a58a6b5324a759d,
type: 3}
propertyPath: m_RootOrder
value: 24
value: 25
objectReference: {fileID: 0}
- target: {fileID: 2888112478438871478, guid: 50a0ddec8ac259c46a58a6b5324a759d,
type: 3}
......@@ -12287,6 +12299,36 @@ PrefabInstance:
propertyPath: m_Pivot.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4204007187986684745, guid: 50a0ddec8ac259c46a58a6b5324a759d,
type: 3}
propertyPath: defaultResponse.m_PersistentCalls.m_Calls.Array.size
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4204007187986684745, guid: 50a0ddec8ac259c46a58a6b5324a759d,
type: 3}
propertyPath: defaultResponse.m_PersistentCalls.m_Calls.Array.data[0].m_Mode
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4204007187986684745, guid: 50a0ddec8ac259c46a58a6b5324a759d,
type: 3}
propertyPath: defaultResponse.m_PersistentCalls.m_Calls.Array.data[0].m_CallState
value: 2
objectReference: {fileID: 0}
- target: {fileID: 4204007187986684745, guid: 50a0ddec8ac259c46a58a6b5324a759d,
type: 3}
propertyPath: defaultResponse.m_PersistentCalls.m_Calls.Array.data[0].m_Target
value:
objectReference: {fileID: 966943496}
- target: {fileID: 4204007187986684745, guid: 50a0ddec8ac259c46a58a6b5324a759d,
type: 3}
propertyPath: defaultResponse.m_PersistentCalls.m_Calls.Array.data[0].m_MethodName
value: ResetCurrentSprites
objectReference: {fileID: 0}
- target: {fileID: 4204007187986684745, guid: 50a0ddec8ac259c46a58a6b5324a759d,
type: 3}
propertyPath: defaultResponse.m_PersistentCalls.m_Calls.Array.data[0].m_Arguments.m_ObjectArgumentAssemblyTypeName
value: UnityEngine.Object, UnityEngine
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 50a0ddec8ac259c46a58a6b5324a759d, type: 3}
--- !u!1 &1046025670
......@@ -13940,7 +13982,7 @@ Transform:
m_LocalScale: {x: 10, y: 10, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 21
m_RootOrder: 22
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1001 &1351384590
PrefabInstance:
......@@ -15082,7 +15124,7 @@ PrefabInstance:
- target: {fileID: 2362585431789937784, guid: 35f9d08058ae666458aadeaeab77cf00,
type: 3}
propertyPath: m_RootOrder
value: 12
value: 13
objectReference: {fileID: 0}
- target: {fileID: 2362585431789937784, guid: 35f9d08058ae666458aadeaeab77cf00,
type: 3}
......@@ -16557,7 +16599,7 @@ PrefabInstance:
- target: {fileID: 3962879857309384162, guid: 926b80f66a4f61b428fa10deff5f7842,
type: 3}
propertyPath: m_RootOrder
value: 3
value: 4
objectReference: {fileID: 0}
- target: {fileID: 3962879857309384162, guid: 926b80f66a4f61b428fa10deff5f7842,
type: 3}
......@@ -16838,7 +16880,7 @@ Transform:
- {fileID: 431282940}
- {fileID: 76739042}
m_Father: {fileID: 0}
m_RootOrder: 8
m_RootOrder: 9
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1001 &1609048846
PrefabInstance:
......@@ -17159,7 +17201,7 @@ PrefabInstance:
- target: {fileID: 3962879857309384162, guid: 926b80f66a4f61b428fa10deff5f7842,
type: 3}
propertyPath: m_RootOrder
value: 14
value: 15
objectReference: {fileID: 0}
- target: {fileID: 3962879857309384162, guid: 926b80f66a4f61b428fa10deff5f7842,
type: 3}
......@@ -18363,7 +18405,7 @@ PrefabInstance:
- target: {fileID: 52145075018362285, guid: 2e3528907311e438dab0d393127aa332,
type: 3}
propertyPath: m_RootOrder
value: 1
value: 2
objectReference: {fileID: 0}
- target: {fileID: 52145075018362285, guid: 2e3528907311e438dab0d393127aa332,
type: 3}
......@@ -18485,6 +18527,10 @@ PrefabInstance:
value:
objectReference: {fileID: 11400000, guid: 6ec6544f645a9d1458383b111fcaf8b6,
type: 2}
- target: {fileID: 2139239323, guid: 2e3528907311e438dab0d393127aa332, type: 3}
propertyPath: m_RootOrder
value: 1
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 2e3528907311e438dab0d393127aa332, type: 3}
--- !u!4 &1764763888 stripped
......@@ -18900,7 +18946,7 @@ Transform:
- {fileID: 1444759013}
- {fileID: 452352410}
m_Father: {fileID: 0}
m_RootOrder: 16
m_RootOrder: 17
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1836249939
GameObject:
......@@ -19398,7 +19444,7 @@ Transform:
m_LocalScale: {x: 10, y: 10, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 20
m_RootOrder: 21
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1884291993
GameObject:
......@@ -19741,6 +19787,121 @@ SpriteShapeRenderer:
m_LocalAABB:
m_Center: {x: 0.40218258, y: 2.3837879, z: -0.003}
m_Extent: {x: 6.9649076, y: 2.4191515, z: 0.003}
--- !u!1 &1886335457
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1886335460}
- component: {fileID: 1886335459}
- component: {fileID: 1886335458}
m_Layer: 0
m_Name: GameEventListeners
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &1886335458
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1886335457}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: cae13dfa42160034cbe0b3a99bd73368, type: 3}
m_Name:
m_EditorClassIdentifier:
gameEvent: {fileID: 11400000, guid: 6ec6544f645a9d1458383b111fcaf8b6, type: 2}
response:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 1949298884}
m_MethodName:
m_Mode: 1
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName:
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
m_TypeName: UnityEngine.Events.UnityEvent, UnityEngine.CoreModule, Version=0.0.0.0,
Culture=neutral, PublicKeyToken=null
--- !u!114 &1886335459
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1886335457}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: cd35dc826bb88514993730d585216e35, type: 3}
m_Name:
m_EditorClassIdentifier:
gameEvent: {fileID: 11400000, guid: 7e5b80a8353af1846a878c3a997bdb4a, type: 2}
allResponse:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 1949298890}
m_MethodName: UpdateMovementParameters
m_Mode: 1
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
m_TypeName: UnityEngine.Events.UnityEvent, UnityEngine.CoreModule, Version=0.0.0.0,
Culture=neutral, PublicKeyToken=null
airResponse:
m_PersistentCalls:
m_Calls: []
m_TypeName: UnityEngine.Events.UnityEvent, UnityEngine.CoreModule, Version=0.0.0.0,
Culture=neutral, PublicKeyToken=null
earthResponse:
m_PersistentCalls:
m_Calls: []
m_TypeName: UnityEngine.Events.UnityEvent, UnityEngine.CoreModule, Version=0.0.0.0,
Culture=neutral, PublicKeyToken=null
fireResponse:
m_PersistentCalls:
m_Calls: []
m_TypeName: UnityEngine.Events.UnityEvent, UnityEngine.CoreModule, Version=0.0.0.0,
Culture=neutral, PublicKeyToken=null
waterResponse:
m_PersistentCalls:
m_Calls: []
m_TypeName: UnityEngine.Events.UnityEvent, UnityEngine.CoreModule, Version=0.0.0.0,
Culture=neutral, PublicKeyToken=null
defaultResponse:
m_PersistentCalls:
m_Calls: []
m_TypeName: UnityEngine.Events.UnityEvent, UnityEngine.CoreModule, Version=0.0.0.0,
Culture=neutral, PublicKeyToken=null
--- !u!4 &1886335460
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1886335457}
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: 0}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1900036959
GameObject:
m_ObjectHideFlags: 0
......@@ -20380,13 +20541,18 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 87867fa499c44294f8c224ff00e99e73, type: 3}
m_Name:
m_EditorClassIdentifier:
cooldown: 1
volleySize: 1
launchPower: 20
attackSpeed: 1
shotSpawn: {fileID: 2139239323}
elementalAttack: {fileID: 1870586037468468, guid: e5f7d8895a3df6547bca926919077d19,
--- !u!114 &1949298890 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 52145075018362291, guid: 2e3528907311e438dab0d393127aa332,
type: 3}
m_PrefabInstance: {fileID: 1738372363}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1949298884}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: e310ba2b65602490894409ff217e2731, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!4 &1949298891 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 52145075018362285, guid: 2e3528907311e438dab0d393127aa332,
......@@ -20718,7 +20884,7 @@ PrefabInstance:
- target: {fileID: 3962879857309384162, guid: 5ab2931e604d74039ab392b8189d5cbc,
type: 3}
propertyPath: m_RootOrder
value: 2
value: 3
objectReference: {fileID: 0}
- target: {fileID: 3962879857309384162, guid: 5ab2931e604d74039ab392b8189d5cbc,
type: 3}
......@@ -23555,7 +23721,7 @@ Transform:
m_LocalScale: {x: 10, y: 10, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 22
m_RootOrder: 23
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &2139239322
GameObject:
......@@ -23629,7 +23795,7 @@ Transform:
m_Children:
- {fileID: 1475881766}
m_Father: {fileID: 0}
m_RootOrder: 17
m_RootOrder: 18
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &6240296448730384320 stripped
GameObject:
......
......@@ -39,7 +39,6 @@ public class ElementAnzeige : MonoBehaviour
public void GetRemainingCharges()
{
availableCount = state.GetCharges();
Debug.Log(availableCount);
switch (availableCount)
{
case 5: GetComponent<Image>().sprite = currentSprites[4];
......@@ -81,4 +80,9 @@ public class ElementAnzeige : MonoBehaviour
textBox[2].SetActive(false);
textBox[3].SetActive(false);
}
public void ResetCurrentSprites()
{
currentSprites = null;
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment