Tower who own it will fire, but will not fire if don't own it (only two players)

Options
My Tower GameObject have two child, one for targeting and one for firing.
I use OnTriggerEnter2D(2D game) to decide if tower fire.
At first, place tower work fine, it shows immediately on two player's screen, no matter who create the tower.
However, only player who own the tower will target and fire. Furthermost, I put some debug.log in child of tower gameobject's OnTriggerEnter2D, it didn't show any message in my console.
Thank you for answering. Appreciate!

Comments

  • I solved this question.
    After PhotonNetwork.Instantiate() some prefab, you do everything right after this method call will only happen locally.