Done with Audio Implementation via C# #347

Merged
mushgunAX merged 14 commits from AudioImplementation into main 2023-02-04 10:18:26 +08:00
4 changed files with 589 additions and 473 deletions
Showing only changes of commit 6e8b2bc460 - Show all commits

View File

@ -1,10 +1,10 @@
0 1 1111111000000000 0 StaticObject 1100000000000000
1 2 1111111000000000 1 Player 1100000000000000
2 3 1111010000000000 2 Food 1000000000000000
3 4 1111110000000000 3 Breakable 1100000000000000
4 5 1101110000000000 4 ScoringWallCollider 0100000000000000
5 6 1111111000000000 5 Homeowner 1100000000000000
6 7 1100011000000000 6 Camera 1100000000000000
7 8 0000000000000000 7 8 0000000000000000
8 9 0000000000000000 8 9 0000000000000000
9 10 0000000000000000 9 10 0000000000000000

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -151,6 +151,8 @@ public class PlayerController : Script
camArm = GetComponentInChildren<CameraArm>(); camArm = GetComponentInChildren<CameraArm>();
Rotation(); Rotation();
MoveKey();
Sprint();
Jump(); Jump();
GotCaught(); GotCaught();
//Debug.Log($"{currentState}"); //Debug.Log($"{currentState}");
@ -161,10 +163,7 @@ public class PlayerController : Script
protected override void fixedUpdate() protected override void fixedUpdate()
{ {
MoveKey();
Move(); Move();
Sprint();
Gravity(); Gravity();
//Debug.Log($"X: {rb.LinearVelocity.x}" + $" Z: {rb.LinearVelocity.z}"); //Debug.Log($"X: {rb.LinearVelocity.x}" + $" Z: {rb.LinearVelocity.z}");
} }