Fixes and cleanup
This commit is contained in:
parent
6f61c8a7c4
commit
c79df8a7a8
4 changed files with 4 additions and 4 deletions
|
@ -26,7 +26,6 @@ public class NavMeshUpdater : MonoBehaviour
|
|||
pos.x = player.position.x;
|
||||
_gg.center = pos;
|
||||
_gg.Scan();
|
||||
//StartCoroutine((IEnumerator) _pathfinding.ScanAsync());
|
||||
}
|
||||
}
|
||||
}
|
|
@ -13,7 +13,7 @@ public class OwnCharacterController : CharacterControllerBase
|
|||
public float movementSpeed;
|
||||
public float sprintSpeed;
|
||||
public PlatformSpawner platformSpawner;
|
||||
[FormerlySerializedAs("scoreSystem")] public ScoreAndAchievements scoreAndAchievements;
|
||||
public ScoreAndAchievements scoreAndAchievements;
|
||||
public HUDManager hudManager;
|
||||
|
||||
private Vector3 _spawnPos;
|
||||
|
@ -59,7 +59,6 @@ public class OwnCharacterController : CharacterControllerBase
|
|||
|
||||
if (Input.GetButtonDown("Jump") && IsOnGround())
|
||||
{
|
||||
//_rb.AddForce(new Vector2(0, jumpForce), ForceMode2D.Impulse);
|
||||
_rb.velocity += new Vector2(0, jumpForce);
|
||||
_jumpStatus = JumpStatus.Up;
|
||||
_animator.SetInteger(Jump, (int) _jumpStatus);
|
||||
|
|
|
@ -35,7 +35,6 @@ public class RocketScript : MonoBehaviour
|
|||
_rb.velocity = Vector2.zero;
|
||||
}
|
||||
|
||||
//_rb.AddForce(new Vector2(_goingRight ? 10 : -10, 0));
|
||||
_rb.AddForce(10 * _forward);
|
||||
}
|
||||
|
||||
|
|
|
@ -11,4 +11,7 @@ EditorBuildSettings:
|
|||
- enabled: 1
|
||||
path: Assets/Scenes/Main.unity
|
||||
guid: 2cda990e2423bbf4892e6590ba056729
|
||||
- enabled: 1
|
||||
path: Assets/Scenes/Achievements.unity
|
||||
guid: 4bb306abbbad37820ab637b67f363aeb
|
||||
m_configObjects: {}
|
||||
|
|
Loading…
Reference in a new issue