More sound stuff

This commit is contained in:
2025-12-13 20:30:54 +01:00
parent 42a32f5fe4
commit a2779ab31b
14 changed files with 286 additions and 49 deletions

View File

@@ -144,6 +144,7 @@ namespace Marro.PacManUdon
faceInStartingDirectionUntilUnfrozen = true;
UpdateAnimator();
RequestSerialization();
// animator.Play(0, -1, 0);
// Debug.Log($"{gameObject} reset with state: {state}, target: {target}, offGrid: {offGrid}");
}
@@ -768,6 +769,8 @@ namespace Marro.PacManUdon
return ghostState;
}
public bool IsScared => isScared;
public override Vector2 GetPosition()
{
return (Vector2)transform.localPosition;