Skip to content

Commit

Permalink
chore: migrate PR-2812 remove animator requirement (#2872)
Browse files Browse the repository at this point in the history
* Do not require component Animator on NetworkAnimator.

* update

Adding changelog entry.

---------

Co-authored-by: jeffgamedev <[email protected]>
Co-authored-by: Jeff Brooks <[email protected]>
  • Loading branch information
3 people authored Apr 5, 2024
1 parent 5b15609 commit 3ca359d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions com.unity.netcode.gameobjects/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ Additional documentation and release notes are available at [Multiplayer Documen

### Changed

- Changed `NetworkAnimator` no longer requires the `Animator` component to exist on the same `GameObject`. (#2872)
- Changed `NetworkTransform` to now use `NetworkTransformMessage` as opposed to named messages for NetworkTransformState updates. (#2810)
- Changed `CustomMessageManager` so it no longer attempts to register or "unregister" a null or empty string and will log an error if this condition occurs. (#2807)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,6 @@ internal NetworkAnimatorStateChangeHandler(NetworkAnimator networkAnimator)
/// NetworkAnimator enables remote synchronization of <see cref="UnityEngine.Animator"/> state for on network objects.
/// </summary>
[AddComponentMenu("Netcode/Network Animator")]
[RequireComponent(typeof(Animator))]
public class NetworkAnimator : NetworkBehaviour, ISerializationCallbackReceiver
{
[Serializable]
Expand Down

0 comments on commit 3ca359d

Please sign in to comment.