using mirror: Where to put network identity if player object is inside prefab?


I put a player gameobject inside a prefab together with cinemachine cameras so that when the prefab spawns the camera is already targeted to the right object.

Now I want to make my game multiplayer with Mirror. So I have to add a network identity component to my player prefab. the problem is that the player movement script is inside the prefab, attached to the player object, which i cant drag and drop into the network manager component.

Ive tried putting the player movement script directly on the prefab and changing from moving gameObject to moving transform.Find(“name of player object”). But it doesnt work. What can I do? Thank you.

I don’t have much networking experience, but could you save the network identity to a scriptable object and then assign it to the player from there?