예제 #1
0
파일: Client.cs 프로젝트: dj46563/Misplaced
    private void EnterSearchMode()
    {
        // Move the moved items to their new positions
        foreach (var movedItem in MovedItems)
        {
            GridItem gridItem = _moveableReferencer.Moveables[movedItem.Key];
            gridItem.MoveToGridPos((ushort)movedItem.Value.Item1, (ushort)movedItem.Value.Item2);
        }

        Interacter interacter = GetComponent <Interacter>();

        interacter.enabled = true;
        interacter.Reset();

        LocalPlayerTransform.position = MainRoomLocation.position;
    }