Removed RequireComponent(Animator) because NetworkAnimator does not have to be on the same game object as the Animator. (#529)

This commit is contained in:
rodolphito 2019-03-03 01:30:59 -08:00 committed by vis2k
parent bc9982e187
commit c0ba0073b2

View File

@ -5,7 +5,6 @@ namespace Mirror
[DisallowMultipleComponent]
[AddComponentMenu("Network/NetworkAnimator")]
[RequireComponent(typeof(NetworkIdentity))]
[RequireComponent(typeof(Animator))]
[HelpURL("https://vis2k.github.io/Mirror/Components/NetworkAnimator")]
public class NetworkAnimator : NetworkBehaviour
{