Question: RPC Methods and Weapon Systems

Options
Hi All,

I'm having some issues figuring out the correct script framework for a Multiplayer VR shooter I'm developing. I want to make the projectiles from my weapons visible to all the players on the server with an RPC method, but it appears Photon will not allow me to call an RPC method that is in a script which is NOT a component of the player's photonView GameObject.

So my question is this - If all my gun scripts are components of my weapons (children), and my photonView is a component of the parent, how do I call my fire methods with as RPCs? Do I have to tie my controller input for fire to a RPC method in the script on the parent, which then calls the fire method on my weapon?

I seems sort of clunky and I feel like there's a better way so I wanted to ask. Any suggestions?

Thanks!