Photon Change animation run game
Options
Hello, I'm currently trying to make a transformation system, but the change is only for the local customer and other people continue to see the same Animator, I wish that when a person changes, other players could see the change, Here my code
public RuntimeAnimatorController transformation;
private bool Transform1 = true;
[PunRPC]
public void transformation()
{
if(Transform1 == true)
{
//this.GetComponent<Animator> ().runtimeAnimatorController = transformation as RuntimeAnimatorController;
Transform1 = false;
}
}
public RuntimeAnimatorController transformation;
private bool Transform1 = true;
[PunRPC]
public void transformation()
{
if(Transform1 == true)
{
//this.GetComponent<Animator> ().runtimeAnimatorController = transformation as RuntimeAnimatorController;
Transform1 = false;
}
}
0