chore: migrate PR-2812 remove animator requirement (#2872)
* Do not require component Animator on NetworkAnimator. * update Adding changelog entry. --------- Co-authored-by: jeffgamedev <jbrooks@gala.games> Co-authored-by: Jeff Brooks <jeph.brooks@gmail.com>
This commit is contained in:
Родитель
5b156090ec
Коммит
3ca359d05f
|
@ -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)
|
||||
|
||||
|
|
|
@ -164,7 +164,6 @@ namespace Unity.Netcode.Components
|
|||
/// 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]
|
||||
|
|
Загрузка…
Ссылка в новой задаче