Cleaning
This commit is contained in:
@@ -100,7 +100,7 @@ namespace Marro.PacManUdon
|
||||
for (int i = 0; i < ghosts.Length; i++)
|
||||
{
|
||||
ghosts[i].SetPosition(attractScreenElements[17 + i].transform.localPosition);
|
||||
ghosts[i].SetDirection(Direction.Left);
|
||||
ghosts[i].SetDirectionAndTargetDirection(Direction.Left);
|
||||
ghosts[i].SetState(PacManGhostState.Normal);
|
||||
}
|
||||
break;
|
||||
@@ -119,8 +119,7 @@ namespace Marro.PacManUdon
|
||||
|
||||
case 18:
|
||||
// Turn PacMan around after eating power pellet
|
||||
pacMan.SetDirection(Direction.Right);
|
||||
pacMan.SetTargetDirection(Direction.Right);
|
||||
pacMan.SetDirectionAndTargetDirection(Direction.Right);
|
||||
break;
|
||||
|
||||
case 19:
|
||||
|
||||
Reference in New Issue
Block a user