Made glider powerup add icon

main
Ivy 4 years ago
parent d326d57082
commit 9da379ebc6

@ -1084,12 +1084,17 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 829770868}
m_CullTransparentMesh: 1
--- !u!1 &830277152 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 6644325902043065115, guid: 9add303577184004ab77878cb3cdcf57, type: 3}
m_PrefabInstance: {fileID: 1597355500}
m_PrefabAsset: {fileID: 0}
--- !u!114 &830277153 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 3455161703679244629, guid: 9add303577184004ab77878cb3cdcf57, type: 3}
m_PrefabInstance: {fileID: 1597355500}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_GameObject: {fileID: 830277152}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 6b9240bd39bca87438df56c58d013245, type: 3}
@ -2454,7 +2459,7 @@ MonoBehaviour:
player: {fileID: 1831256037}
dialogBox: {fileID: 1590398590}
dialogText: {fileID: 127032239}
healthbar: {fileID: 0}
healthbar: {fileID: 830277152}
startButton: {fileID: 283377687}
title: {fileID: 655160807}
panel: {fileID: 182368510}
@ -2473,7 +2478,7 @@ MonoBehaviour:
powerupText: {fileID: 829770868}
obtainedPowerups:
powerupStatus:
sceneToLoad: Spawn
sceneToLoad: Spike Scene
music:
- {fileID: 8300000, guid: f29919963390ff24fa1ae468277b309e, type: 3}
- {fileID: 8300000, guid: 327636dbdcb895b478ac95086f383d8a, type: 3}

@ -21,6 +21,7 @@ public class DoubleJumpPowerup : MonoBehaviour
Debug.Log("DoubleJump Powerup Obtained");
GameManager.Instance.obtainedPowerups.Add(Powerup.DoubleJump);
GameManager.Instance.powerupStatus.Add(false);
GameManager.Instance.enablePowerup(2);
Destroy(gameObject);
}
}

@ -21,6 +21,7 @@ public class GliderPowerupPickup : MonoBehaviour
Debug.Log("Glider Powerup Obtained");
GameManager.Instance.obtainedPowerups.Add(Powerup.Glider);
GameManager.Instance.powerupStatus.Add(false);
GameManager.Instance.enablePowerup(0);
Destroy(gameObject);
}
}

@ -21,6 +21,7 @@ public class ShrinkPowerup : MonoBehaviour
Debug.Log("Shrink Powerup Obtained");
GameManager.Instance.obtainedPowerups.Add(Powerup.Shrink);
GameManager.Instance.powerupStatus.Add(false);
GameManager.Instance.enablePowerup(3);
Destroy(gameObject);
}
}

Loading…
Cancel
Save