Hi, I am trying to find a way to make my code neater, example
Photon.Instantiate() (Instantiate the game object in the network)
GameObject.Instantiate() (normal instantiation)
Let's say a script is using photon.Instantiate but I wanted to test the script in a non network environment, so I have to add a bool to check if is in network. Is there other proper method for this rather than keep adding boolean check for each networked function call if I wanted to test in a non network environment.