Added sitting animation

This commit is contained in:
Vladimir Koshevarov
2023-02-27 19:04:16 +02:00
parent 31eb9fb04a
commit 26bb1878c5
16 changed files with 136163 additions and 5434 deletions
+3 -1
View File
@@ -5,7 +5,9 @@ public class Bed : BaseInteractableObject
{
public override void Interact(Player player)
{
Debug.Log("Interact with bed");
Debug.Log("rotate player");
player.Rotate(_playerArrivePoint.transform.forward);
Debug.Log("Sitting");
player.SetPlayerState(ActionStates.Sitting);
}
}