Commit b37d121
authored
fix: NetworkAnimator does not allow disabling or enabling parameters for synch (#3586)
* update
Provide users with a way to disable updating changes to specific parameters.
* update
Don't include excluded parameters during initial synchronization.
* update
Adding the ability to select server or owner authority mode via the inspector view.
* update - wip
Work in progress.
* update
Test project manual tests for animation (of which some are used for integration testing).
* update
Finalizing editor inspector view UI for excluding animator properties.
Added some additional logic to NetworkAnimator.
Added first test that verifies excluding parameters works.
* update
Renamed the new method `ToggleParameterSync` to `EnableParameterSynchronization`. Added overridden version of `EnableParameterSynchronization` that accepts a string for the name and changed the original method to accept the hash value of the parameter name.
Did some minor clean up in the `NetworkAnimatorStateChangeHandler.NetworkUpdate` method.
Added some additional comments in various places.
* update
Reverted the change in HiddenScriptEditor.
Moved away from a NetworkAnimator custom editor to a custom property drawer to handle displaying the Animator parameters to be synchronized.
Handling the population of parameters and populating the NetworkAnimator.AnimatorParameterEntries during OnValidate.
Had to re-apply unchecking the excluded parameter in some prefabs for testing purposes.
* update
Renaming NetworkAnimatorParameterEntryEditor to NetworkAnimatorParameterEntryDrawer since it is a property drawer.
Excluding NetworkAnimatorParameterEntryDrawer when the animation package is not installed.
* update
Converting all legacy ClientRpc and ServerRpc usages over to the newer universal RPC format.
Using a pre-allocated Persistent RpcTargetGroup as opposed to the List.
When using `NetworkAnimator.SetTrigger` with a client-server network topology and it is the server or host invoking the method, then go ahead and set the trigger since it no longer sends itself an RPC/no longer invokes the InternalSetTrigger via RPC.
* update
Adding change log entries.
* style
adjusting typo
* update
Implementing suggested changes.
* fix
Fixing issue discovered by Noellie in the HasAuthority check.
* update
fixing change log
* update
Always assure owner authoritative mode when in distributed authority mode.
* doc update
Updating the NetworkAnimator documentation for this fix.
* style - PVP
PVP-124-2
Removing trailing spaces1 parent 6436d68 commit b37d121
File tree
20 files changed
+1365
-247
lines changed- com.unity.netcode.gameobjects
- Documentation~
- components/helper
- images/networkanimator
- Editor
- Runtime/Components
- testproject/Assets/Tests
- Manual/NetworkAnimatorTests
- Runtime/Animation
- Resources
20 files changed
+1365
-247
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| 21 | + | |
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
| |||
32 | 34 | | |
33 | 35 | | |
34 | 36 | | |
| 37 | + | |
35 | 38 | | |
36 | 39 | | |
37 | 40 | | |
| |||
Lines changed: 352 additions & 60 deletions
Large diffs are not rendered by default.
Lines changed: 96 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments