some changis

This commit is contained in:
haitem 2021-01-31 15:20:36 +01:00
parent 97f67f18a2
commit 2e2783bc6c
2 changed files with 7 additions and 3 deletions

View File

@ -4091,7 +4091,7 @@ PrefabInstance:
- target: {fileID: 2773067093461657725, guid: 712671f8cf5fa684cbcb1159d45b0057, - target: {fileID: 2773067093461657725, guid: 712671f8cf5fa684cbcb1159d45b0057,
type: 3} type: 3}
propertyPath: nextSceneName propertyPath: nextSceneName
value: Hans value: Level2_Release
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 2773067093461657726, guid: 712671f8cf5fa684cbcb1159d45b0057, - target: {fileID: 2773067093461657726, guid: 712671f8cf5fa684cbcb1159d45b0057,
type: 3} type: 3}
@ -5542,6 +5542,11 @@ PrefabInstance:
m_Modification: m_Modification:
m_TransformParent: {fileID: 0} m_TransformParent: {fileID: 0}
m_Modifications: m_Modifications:
- target: {fileID: 3972560853011912468, guid: e4d82994b58b7304b91c915c597b71f8,
type: 3}
propertyPath: clips.Array.data[3].clip
value:
objectReference: {fileID: 8300000, guid: ebff1b1b6619bdf48a334db25b73db57, type: 3}
- target: {fileID: 7094923891560833857, guid: e4d82994b58b7304b91c915c597b71f8, - target: {fileID: 7094923891560833857, guid: e4d82994b58b7304b91c915c597b71f8,
type: 3} type: 3}
propertyPath: m_Name propertyPath: m_Name

View File

@ -119,7 +119,6 @@ public class PlayerManager : MonoBehaviour
if (!cannotMove && (!onLadder || (onLadder && (activeAbility.Count < 0 || activeAbility[0] != 4)))) if (!cannotMove && (!onLadder || (onLadder && (activeAbility.Count < 0 || activeAbility[0] != 4))))
{ {
Jump(); Jump();
FindObjectOfType<AudioManager>().Play("Jump");
} }
} }
@ -295,6 +294,7 @@ public class PlayerManager : MonoBehaviour
{ {
dubleJump = false; dubleJump = false;
} }
FindObjectOfType<AudioManager>().Play("Jump");
pushPullObject = null; pushPullObject = null;
rigidBody.AddForce( rigidBody.AddForce(
(transform.up * jump * 10 * Time.deltaTime), (transform.up * jump * 10 * Time.deltaTime),
@ -365,7 +365,6 @@ public class PlayerManager : MonoBehaviour
speed += power; speed += power;
runSpeed += power; runSpeed += power;
FindObjectOfType<AudioManager>().Play("Jump");
} }
else if (powerType == PowerCubeManager.PowerType.Jumper) else if (powerType == PowerCubeManager.PowerType.Jumper)
{ {