Skip to content

Commit 3ca359d

Browse files
NoelStephensUnityjeffgamedevjeffgamedev
authored
chore: migrate PR-2812 remove animator requirement (#2872)
* Do not require component Animator on NetworkAnimator. * update Adding changelog entry. --------- Co-authored-by: jeffgamedev <[email protected]> Co-authored-by: Jeff Brooks <[email protected]>
1 parent 5b15609 commit 3ca359d

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

com.unity.netcode.gameobjects/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ Additional documentation and release notes are available at [Multiplayer Documen
3232

3333
### Changed
3434

35+
- Changed `NetworkAnimator` no longer requires the `Animator` component to exist on the same `GameObject`. (#2872)
3536
- Changed `NetworkTransform` to now use `NetworkTransformMessage` as opposed to named messages for NetworkTransformState updates. (#2810)
3637
- 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)
3738

com.unity.netcode.gameobjects/Components/NetworkAnimator.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,6 @@ internal NetworkAnimatorStateChangeHandler(NetworkAnimator networkAnimator)
164164
/// NetworkAnimator enables remote synchronization of <see cref="UnityEngine.Animator"/> state for on network objects.
165165
/// </summary>
166166
[AddComponentMenu("Netcode/Network Animator")]
167-
[RequireComponent(typeof(Animator))]
168167
public class NetworkAnimator : NetworkBehaviour, ISerializationCallbackReceiver
169168
{
170169
[Serializable]

0 commit comments

Comments
 (0)