Skip to content

Commit

Permalink
Updated Videochat GUI
Browse files Browse the repository at this point in the history
Refactored `LivekitVideoManager.cs`:
- Changed `NetworkBehaviour` to `MonoBehaviour`
- Removed `RepublishVideo` method
- Updated camera methods:
  - Last selected camera saved in `PlayerPrefs`
  - Unpublished video if camera changed
  - Camera activates when video is published
  - Camera deactivates when video is unpublished
- Added `StatusPanel` for publish status

Modified `SEENewWorld`:
- Removed `LivekitVideoManager` object

Updated `SettingsMenu` prefab:
- Centered exit button
- Added `VideochatStatusPanel` as first child:
  - Added `RawImage` for status image (assigned to `LivekitVideoManager` script)
  - Added `Text` for status display (assigned to `LivekitVideoManager` script)
- Added `VideochatPanel` as child:
  - Added `Dropdown` (assigned to `LivekitVideoManager` script)
  • Loading branch information
pit2710 committed Oct 17, 2024
1 parent b54aa37 commit 546e544
Show file tree
Hide file tree
Showing 3 changed files with 6,491 additions and 3,956 deletions.
Loading

0 comments on commit 546e544

Please sign in to comment.