some changis
This commit is contained in:
parent
97f67f18a2
commit
2e2783bc6c
@ -4091,7 +4091,7 @@ PrefabInstance:
|
||||
- target: {fileID: 2773067093461657725, guid: 712671f8cf5fa684cbcb1159d45b0057,
|
||||
type: 3}
|
||||
propertyPath: nextSceneName
|
||||
value: Hans
|
||||
value: Level2_Release
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2773067093461657726, guid: 712671f8cf5fa684cbcb1159d45b0057,
|
||||
type: 3}
|
||||
@ -5542,6 +5542,11 @@ PrefabInstance:
|
||||
m_Modification:
|
||||
m_TransformParent: {fileID: 0}
|
||||
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,
|
||||
type: 3}
|
||||
propertyPath: m_Name
|
||||
|
@ -119,7 +119,6 @@ public class PlayerManager : MonoBehaviour
|
||||
if (!cannotMove && (!onLadder || (onLadder && (activeAbility.Count < 0 || activeAbility[0] != 4))))
|
||||
{
|
||||
Jump();
|
||||
FindObjectOfType<AudioManager>().Play("Jump");
|
||||
}
|
||||
}
|
||||
|
||||
@ -295,6 +294,7 @@ public class PlayerManager : MonoBehaviour
|
||||
{
|
||||
dubleJump = false;
|
||||
}
|
||||
FindObjectOfType<AudioManager>().Play("Jump");
|
||||
pushPullObject = null;
|
||||
rigidBody.AddForce(
|
||||
(transform.up * jump * 10 * Time.deltaTime),
|
||||
@ -365,7 +365,6 @@ public class PlayerManager : MonoBehaviour
|
||||
|
||||
speed += power;
|
||||
runSpeed += power;
|
||||
FindObjectOfType<AudioManager>().Play("Jump");
|
||||
}
|
||||
else if (powerType == PowerCubeManager.PowerType.Jumper)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user