How to make a static array of animators in a script?

I am trying to make a script that will contain an array of animators. As the array is static, I would like it to always be attached to the script. I tried making the array public in order to set the references to the animators through the Unity inspector, but found out that it is not possible.

Can anyone suggest a solution?

Thanks in advance

You could make it a public static property with a non static backing field which you expose to the editor using [SerializeField].

You could put this array on a ScriptableObject