Граф коммитов

269 Коммитов

Автор SHA1 Сообщение Дата
Jaedyn Draper 772c54b6c5 Updated anticipation sample after API changes from review feedback in the anticipation branch. 2024-03-13 14:54:02 -05:00
Fernando Cortez 449e70b668 Merge branch 'main' into develop 2024-03-04 13:54:00 -05:00
Kitty Draper a781806ef5
feat: Added client anticipation sample [MTT-8052] (#154)
* Added client anticipation sample

* Added some extra comments.

* Pointing at the git repo instead of local repo.

MTT-8052

* Readme

* Fix accidentally replaying one input frame twice on each reanticipation.

* Adjusted sample based on API change in the SDK (working in real time rather than ticks)

* A few small updates:
- Ensure consistent behavior between sliders for variable E (client should jump from the end to the beginning instead of interpolating)
- Change player movement to happen in FixedUpdate for consistency of simulation (and adjusted input handling to account for that)
- Show how transforms can smooth conditionally and snap when the smooth distance is too great

* Small updates:
- Added control over latency and jitter in the UI
- Fixed a timing issue with how ValueE is updated so it exactly matches the server now
- Added a slider to control smooth duration for the network variables
- Added some extra comments

* typo

* Address review feedback.

* - Added the ability to adjust latency and jitter simulations while connected (via a disconnect and reconnect)
- Added smoothing on the server side for Value C and for the player character to show how a host can still perform smoothing on received inputs.

* Limited axes of synchronization for the player object to only those that are used.

* Updated netcode for gameobjects package commit hash.

* Readme updates

* Updated netcode for gameobjects package commit hash.
2024-03-04 12:18:25 -05:00
Elfi0Kuhndorf a8a31a22fa
MTT-7858: Make ParrelSync window interactable in tutorial (#155)
* change the masking settings of that tutorial page so that users can use the ParrelSync window

* Revert "change the masking settings of that tutorial page so that users can use the ParrelSync window"

This reverts commit 86fe3b2553.

* add parrelsync clones window to tutorial
2024-02-16 14:08:19 +01:00
Fernando Cortez 0b1a346e2f Merge branch 'main' into develop 2024-01-16 11:49:18 -05:00
Fernando Cortez 4787992f5c
Merge pull request #153 from Unity-Technologies/release/v1.5.0
release: v1.5.0
2023-12-15 15:38:34 -05:00
Fernando Cortez 315b714c9f Merge branch 'develop' into release/v1.5.0 2023-12-15 15:35:41 -05:00
Fernando Cortez bf2c738409
feat: Updating utilities package for samples to v1.8.0 (#151)
* updating utilities package for samples

* changelog addition
2023-12-15 15:28:06 -05:00
Fernando Cortez ad27d64300
chore: Experimental folder contribution guidelines update (#152)
experimental contribution guidelines link update
2023-12-15 14:38:04 -05:00
Fernando Cortez 37521e0410 formatting in changelog 2023-12-15 14:11:19 -05:00
Fernando Cortez fe0bb30a0a updating readmes and changelog 2023-12-15 13:55:30 -05:00
Fernando Cortez cc0a585cc1 project versions updated 2023-12-15 13:43:40 -05:00
Fernando Cortez 02f759f940 changelog addition 2023-12-15 11:54:52 -05:00
Fernando Cortez 6ec028ff16 updating utilities package for samples 2023-12-15 11:42:34 -05:00
Fernando Cortez 1107a208c7
fix: fix the no fire sound problem (external PR #138) (#148)
* fix the no fire sound problem (#138)

Co-authored-by: Fernando Cortez <fernando.cortez@unity3d.com>

* changelog addition

---------

Co-authored-by: Zhanyu Feng <42690051+Alexander5421@users.noreply.github.com>
2023-12-12 17:30:52 -05:00
Fernando Cortez a1b536715a
fix: remove unnecessary NetworkVariable in 2DSpaceShooter (#149)
* ship thrust varaible converted to float

* changelog addition

* renaming of variable
2023-12-12 16:08:37 -05:00
Fernando Cortez ca173a7ce0
fix: correct variable names used for initialization (external PR #145) (#150)
* fix: swapped variable names in ShipControl.cs (#145)

Co-authored-by: Fernando Cortez <fernando.cortez@unity3d.com>

* changelog addition

---------

Co-authored-by: alexia6119 <67676619+alexia6119@users.noreply.github.com>
2023-12-12 15:16:54 -05:00
Fernando Cortez 7c54df861a
chore: removing LINQ usage in bitesize samples [MTT-7798] (#146)
* removing linq usage in bitesize samples

* changelog addition
2023-12-08 11:56:51 -05:00
Fernando Cortez b72a35baef
feat: upgrade bitesize samples to NGO v1.7.1 & 2022.3.14f1 (#147)
* 4 samples updated to 2022.3.13f1 & by necessity NGO v1.7.0

* upgraded 4 samples to 2022.3.14f1

* updating use cases sample to 2022.3.14f1 & NGO v1.7.0

* upgrading all samples to NGO v1.7.1

* changelog addition
2023-12-08 09:54:52 -05:00
Fernando Cortez 5bd101d69c Merge branch 'main' into develop 2023-11-20 15:33:18 -05:00
Fernando Cortez b333f4dac0 correct PR template removed 2023-10-02 15:40:01 -04:00
Fernando Cortez 30d256ad4a chore: removing added gitignore & PR template, updating readme 2023-10-02 15:34:41 -04:00
Paolo Abela bcb62ec6f4
Sample: API diorama (#71)
* [Project] ParrelSync's cloens are gitignored

* [Feature] Added an example scene with basic character controller and connection functionality
[Project] Added TextMeshPro's assets

* [Optimization] Marked environemnt objects as static, moved them to another layer which doesn't self-collide

* [Feature] Added a script to manage and change the color of a ColoredCube using NetworkVariables and RPCs
[Project] Added ColoredCube prefab
[Project] Grouped assets specific to this scene under a specific folder

* [Refactoring] Code cleanup

* [Project] Added SpriteEditor package

* [UI] Added a SpeechBubble to the objects in the scene to better explain what they do

* [Feature] Cubes speech bubbles only appear when the local player is close enough to them

* [Project] Removed unneeded packages and added URP package

* [Project] Converted materials to URP

* [VFX] Added Post processing

* [Documentation] (API Diorama) Added README

* [UI] (API Diorama) The color of the button representing the selected network mode (Host/Client/Server) changes when a network mode is selected

* [UI] (API Diorama) (no patch) Improved polishing of the buttons used to start the Networked session
[UI] Added a game UI that explains the controls

* [Tutorial] (API Diorama) Added Welcome Dialog
[Project] (API Diorama) Added In-editor tutorial packages

* [Tutorial] (API Diorama) Added external links to the table of content
[Tutorial] (WIP) (API Diorama) Added first steps of tutorial 1
[UX] (API Diorama) Unlocked mouse while a player character is in the scene

* [Bugfix] (no patch) (API Diorama) Removed duplicated audio listener

* [Bugfix] (no patch) (API Diorama) Fixed player not reacting to input

* [UI] (no patch) (API Diorama) Moved Color Manager script higher in the ColoredCube's inspector for visibility

* [Tutorial] (API Diorama) Added a tutorial about NetworkVariables and RPCs

* [Project] Fixed player prefab's layer

* [Project] Classes cleanup

* [Project] Added UnitySceneReference package

* [Feature] Added a screen selection scene
[Project] Renamed existing scenes to match their purpose

* [Project] Updated executable name and default resolution

* [System] Elements of the screen selection can now have images

* [Project] Added representative image for the "NetworkVariable Vs RPC" scene

* [Tutorial] Selecting "i'll explore on my own" in the welcome dialog will open the diorama selection scene

* [Project] Added documentation

* [CI] Added Pull request template

* [Tutorial] (no patch) Added Github issues link to the table of content

* [Tutorial] (no patch) Mentioned ParrelSync at the end of the tutorial

* [Project] Updated NGO to 1.2.0

* [Project] Removed custom implementation fo ClientNetworkAnimator to use the one from BossRoom instead

* [Bugfix] (no patch) Fixed wrong layers of scene objects that caused players to interact weirdly with them

* [Bugfix] (no patch) Fixed OnServerChangeColorServerRpc being invokable only by the host

* [Refactoring] Removed dead code

* [Project] (no patch) Moved pull request template to the root of the repository

* [Project] Changed the structure of the project to make it easier to find Diorama scenes

* [Project] Moved reusable assets and APIs to the common folder

* [Project] Added boilerplate scene for "NetworkVariables" example

* [Feature] Added custom data types synchronization example to the NetworkVariables example scene

* [Tutorials] (API Diorama) Grouped tutorial in a specific category of the Table Of Content
[Tutorial] (API Diorama) Added a tutorial about NetworkVariables and RPCs

* [Project] Removed unneeded prefab

* [Feature] (API Diorama) Added a new scene to display the usage of RPCs
[Project] (API Diorama) Moved SpeechBubble prefab and scripts to the Common folder
[project] Updated build settings to include the new scene

* [Tutorials] (API Diorama) Fixed typo

* [Tutorials] (API Diorama) Completion Dialogs no longer self-close after an option that opens an external link is selected
[Tutorials] (API Diorama) Added tutorial for RPCs scene

* [UI] (API Diorama) Added a "Disconnect" button
[System] Handled disconnection case in script behaviours

* [Change] Used non-swear words as swear words
[Change] Changed usernames

* [Bugfix] Fixed NetworkObjects not being despawned upon server disconnection

* [Bugfix] Fixed missing status checks in server-managed networked classes

* [Refactoring] Fixed typo

* [UI] Improved clarity of instructions in the UI
[UI] Fixed UI scaling issues at different resolutions

* [UI] Added a "Quit scene" button to go back to the Selection screen from any scene while playing

* [Bugfix] (API Diorama) Fixed multiple NetworkManager staying around when switching between scenes after a disconnection

* [Bugfix] (API Diorama) Fixed ptotential NullReferenceException when disconnecting

* [Tutorial] Improved clarity around why selecting the Host mode is what the tutorials recommend [skip ci]

* [UI] Added a "server-only" overlay for when a the scenes are running in server-only mode

* [Refactoring] Removed dead code

* [Refactoring] Renamed ChatManager to MoodManager so that users don't think that we're suggesting a production-ready implementation of a Chat
[Project] Moved PositionOffsetKeeper to an utils folder

* [Tutorial] Fixed typo

Co-authored-by: LPLafontaineB <louisphilippe.lb@unity.com>

* [UI] Added more information in the server-only overlay

* [Refatoring] Removed dead code

* [Project] Grouped common scene objects under an "Environment" prefab

* [Project] Added an editor-only scene light in the selection screen to avoid light artifacts when switching scenes

* [Project] Moved animations to common folder

* [Projcet] (API Diorama) Added ProximityChecks Diorama Scene (WIP)

* [Project] (Diorama) Added Proximity Checks Diorama to the Selection Screen and build settings

* [UI] (no patch) (Diorama) Added a dynamic visual indicator of Proximity range in the ProximityChecks scene

* [System] (Diorama) Made NetvarVsRPC scene character-free

* [Project] Enabled connetion approval in RPC scene to allow custom spawn logic
[Project] Added barebone Player prefab to RPC scene
[Tutorial] Updated RPC tutorial
[Feature] Players in RPC scene spawn at random positions to not overlap

* [Tutorial] Added tutorial for proximity checks and local interactions

* [Tutorial] Copy adjustements + Added highlighting to relevant scripts in project browser

* Update Basic/APIDiorama/Assets/Common/Scripts/DioramaUtilities.cs

Co-authored-by: Sam Bellomo <71790295+SamuelBellomo@users.noreply.github.com>

* Update Basic/APIDiorama/Assets/UseCaseSamples/NetworkVariables/Scripts/CharacterManager.cs

Co-authored-by: Sam Bellomo <71790295+SamuelBellomo@users.noreply.github.com>

* Update Basic/APIDiorama/Assets/UseCaseSamples/ProximityChecks/Scripts/ProximityChecker.cs

Co-authored-by: Fernando Cortez <fernando.cortez@unity3d.com>

* [Project] Removed unnecessary files and dependencies

* [Project] Removed unneeded files [skip ci]

* [Refactoring] Minor refactorings, removed unneeded files

* [System] Added examples about using ProximityChecker events instead of polling

* [Refactoring] Removed unnecessary code for GameUI's initialization

* [Project] asmdef references are now by name instead of GUID

* [Refactoring] Improved PlayerSpawnManager example

* [Project] Updated readme

* [Project] Fixed typos

* [Refactoring] Displayed usage of NetworkManager.Singleton.LocalClient.PlayerObject in ProximityChecker to double down on netcode-specific learnings

* [Project] Removed "devlocker.utils.scenereference" package

* [Project] Added more in-code explanations.

* [Bugfix] Updated scene names in SelectionScreen

* [Project] Removed dead references

* [Project] Fixed typo

* [Project] Removed Third Party Notice [skip ci]

* [Project] Updated PR template [skip ci]

* [Refactoring] Added customized namespaces to each diorama

* [Project] Added third party notices for ParrelSync

* Added basic project tests (#115)

* [CI] Added tests to ensure no broken assets or scene references are shipped

* [CI] Added APIDiorama to CI

* Feature: Art Pass [MTT-5907] (#133)

* first pass of art pass
* ui and material color tweaks and button outline implementation
* updated spawned obj color
* fixed lighting in this scene
* background color lighted slightly
* updated welcome dialog art
* updated tutorial thumbnail images
* scene and tutorial thumbnail image updates
* updated rpc and netvar vs rpc images per comments
* updated texture type
* updated the images to be a little be more polished and also updated image types

* (Api diorama) Updated to latest LTS and NGO (#MTT-6884) (#137)

[Project] Updated to latest 2022 LTS
[Tutorial] Enabled tutorial welcome dialog at startup

Co-authored-by: Paolo Abela <paolo.abela@unity3d.com>

* Renamed "Api diorama" into "Multiplayer Use Cases" (#MTT-6885) (#141)

* [Refactoring] Renamed to "MultiplayerUseCase" all code-related references to "APIDiorama"

* [Project] Renamed "APIDiorama" folder into "Multiplayer Use Cases"
[Tutorial] Fixed Scritps not being highlighted properly in the inspector during tutorials

* [Documentation] minor fix

* [Project] Enabled IET welcome dialog at first startup

---------

Co-authored-by: Paolo Abela <paolo.abela@unity3d.com>

* [CI] Updated CI script to reference 2022 LTS and the renamed project

* [Project] Moved "Multiplayer Use Cases" sample to the Experimental folder

* [Project] Updated readme

* [CI] Fixed path of Multiplayer Use Cases sample in project.metafile

* Update Experimental/MultiplayerUseCases/Packages/manifest.json

Co-authored-by: Fernando Cortez <fernando.cortez@unity3d.com>

* [Project] Updated packages

---------

Co-authored-by: LPLafontaineB <louisphilippe.lb@unity.com>
Co-authored-by: Sam Bellomo <71790295+SamuelBellomo@users.noreply.github.com>
Co-authored-by: Fernando Cortez <fernando.cortez@unity3d.com>
Co-authored-by: Jil Franco <89089503+jilfranco-unity@users.noreply.github.com>
Co-authored-by: Paolo Abela <paolo.abela@unity3d.com>
2023-10-02 14:21:48 -04:00
Fernando Cortez 4cef42015d
Merge pull request #140 from Unity-Technologies/develop
release: Bitesize samples v1.4.0
2023-09-25 15:33:16 -04:00
Fernando Cortez a661fe5ef1
Merge branch 'main' into develop 2023-09-25 15:11:08 -04:00
Fernando Cortez 329f120e11
chore: project versions updated and changelog updated with 1.4.0 release (#139)
* project versions updated and changelog updated with 1.4.0 release

* updating latest release badge
2023-09-25 13:53:09 -04:00
Fernando Cortez 0a6030fb88
feat: adding CODEOWNERS (#135)
* adding samples dev team as codeowners
2023-09-25 10:58:29 -04:00
Fernando Cortez 823f008508
fix: listening for NetworkObject parent changes to fix stuck ingredients on disconnects [MTT-7103] (#136)
* listening for NetworkObject parent changes to fix stuck ingredients on disconnects

* changelog addition
2023-09-22 15:22:13 -04:00
Fernando Cortez 96bbf2dabb
feat: Bitesize samples 2022.3.9 LTS & NGO v1.6.0 upgrade [MTT-7247] (#134)
* bitesize projects updated to 2022.3.9f1 & NGO v1.6.0

* 2DSpaceShooter URP asset added

* readme update and changelog additions

* 2DSpaceShooter: spawner script formatted

* dependencies update for projects
2023-09-20 14:32:27 -04:00
Fernando Cortez 50cd4fbcde
fix: DynamicAddressablesNetworkPrefabs showing loading status on already spawned prefabs [MTT-6688] (#132)
* fix showing loading status on already spawned prefabs

* changelog addition
2023-08-11 17:08:28 -04:00
Fernando Cortez f675409ded
Merge pull request #130 from Unity-Technologies/develop
release: v1.3.0
2023-07-07 16:32:56 -04:00
Fernando Cortez ee3cfdc1d9
Merge branch 'main' into develop 2023-07-07 16:26:38 -04:00
Fernando Cortez 765f8117b9
chore: readme updates for v1.3.0 release (#127)
* readme updates for v1.3.0 release

* more readme updates and updating each sample's readme
2023-07-07 16:25:08 -04:00
Fernando Cortez 7b6fa750f3
fix: 2DSpaceShooter, ClientDriven, & Invaders point to v2.2.0 Samples Utilities package (#129)
* 2DSpaceShooter, ClientDriven, & Invaders point to v2.2.0 Samples Utilities version

* updating changelog and adding v1.3.0 release
2023-07-07 16:07:02 -04:00
Fernando Cortez 426ded5040
feat: upgrade bitesize samples to 2022.3.0f1 LTS [MTT-5644] (#124)
* ClientDriven updated to 2022.3.0f1 LTS

* DynamicAddressablesNetworkPrefabs updated to 2022.3.0f1 LTS

* Invaders updated to 2022.3.0f1 LTS

* Invaders: fixing a null ref on disconnect on client after host disconnects

* Invaders: URP files updated

* 2DSpaceShooter updated to 2022.3.0f1 LTS

* testing Yamato jobs on 2022.3

* changelog addition

* fixing Readme references to newest LTS version
2023-06-07 16:23:51 -04:00
Sam Bellomo 6e39bc28f5
Experimental samples folder [MTT-6329] (#121)
* Create README.md

* Adding more details

* applying review changes

* Update README.md

Minor edit pass

---------

Co-authored-by: Sara [Unity] <89528471+s-omeilia-unity@users.noreply.github.com>
2023-05-17 15:23:01 -04:00
LPLafontaineB 04c4fb65c7
chore: update to ngo 1.4.0 [MTT-6276] (#118)
* Upgrading DynamicAddressablesNetworkPrefabs sample to NGO 1.4.0

* Upgrading ClientDriven sample to ngo 1.4.0

* Upgrading 2DSpaceShooter sample to NGO 1.4.0

* Upgrading Invaders sample to NGO 1.4.0

* updating readme
2023-05-02 13:09:19 -04:00
LPLafontaineB 03aa44086b
chore: update to latest lts [MTT-6276] (#119)
* updating editor version for bitesize projects
2023-05-02 13:40:50 +00:00
LPLafontaineB 2f02af1355
fix: readme updates (#120)
* Fixing tutorial links

* clarifying supported platforms
2023-05-02 09:19:50 -04:00
LPLafontaineB 173a25ec7f
fix: single gitignore (#117)
* removing project-specific gitignores

* Including parrelsync clones in gitignore
2023-04-26 09:43:09 -04:00
Fernando Cortez 887088e791
documentation: changelog addition for #113 (#114)
changelog addition for #113
2023-03-10 11:58:35 -05:00
Fernando Cortez 0600a7360f
fix: Invaders hit fx not replicated on player & enemy bullets (#113)
* player and enemy bullet send client rpcs to spawn hit FX

* redundant server side checks removed, spawn/despawn method usage parity

* formatting
2023-03-10 11:09:15 -05:00
Fernando Cortez 96465ee7ec
fix: applying address inside TMP field to UTP connection data as host (#112)
* applying address inside TMP field to UTP connection data

* scene text reference update

* comment removal

* changelog addition
2023-03-06 11:22:53 -05:00
Fernando Cortez 0d86862ac8
fix: dynamic prefabs loaded status correctly shown on host (#111)
* loaded status shown correctly on host

* changelog update
2023-03-06 10:47:07 -05:00
Sam Bellomo 8d9876a786
Some background on addressables (#110) 2023-03-02 09:41:35 -05:00
MorwennaG c16a11fefa
Update README.md 2023-02-23 10:55:38 +00:00
Fernando Cortez f8af3fffe2
Merge pull request #107 from Unity-Technologies/develop
v1.2.1 patch
2023-02-17 20:19:02 -05:00
Jil Franco b5b7740d8b
Feat: Changelog update (#109)
changelog updated
2023-02-17 19:47:56 -05:00
Jil Franco 1552301f3a
Feat: Readme updates 1.2.1 (#108)
readme language updates and fixed broken links
2023-02-17 19:41:16 -05:00
Fernando Cortez 9e226890f3
Merge branch 'main' into develop 2023-02-17 19:10:40 -05:00