Photon instantiate GameObject with public declare

Options
Hi, all
I wanna ask if I instantiate GameObject on photon network, then the how to assign public declare things.
We know the photon instantiate prefab can't be assigned public things.
I only know using 1. find with tags 2. find with name after instantiate.
if there are else way to assign public declare by code?

Thanks!

Comments

  • jeanfabre
    Options
    Hi,

    I am confused with the term "public declare", do you mean public properties? Each player can have its own player properties, and all player properties are public and accessible by code from any client.

    Bye,

    Jean