add auto-walk from the door
This commit is contained in:
@@ -4,6 +4,10 @@ public class RoomDoor : Interactable
|
||||
{
|
||||
public RoomDoor linkedDoor;
|
||||
public bool requiresInteraction; // Do we need to press a button to enter?
|
||||
|
||||
// transform that the character should walk towards when entering the room
|
||||
// through this door
|
||||
public Transform WalkDirection;
|
||||
TeleportHandler teleportHandler;
|
||||
|
||||
// not required and only plays if interaction is required
|
||||
|
||||
Reference in New Issue
Block a user