the host

Options

hi , how can i instantiate an object by the host ONLY , i tried the (if(PhotonNetwork.IsMasterClient)

        {}) , but the code worked and instantiated the objects for all the clients , thanks for you all

Answers