public void changeTitanAttributes(GameObject titan, AbnormalType type, Vector3 scale) { Thread.Sleep(100); TITAN t = titan.GetComponent <TITAN>(); lock (t){ t.nonAI = false; t.setAbnormalType(type, type == AbnormalType.TYPE_CRAWLER); object[] nslParams = new object[] { scale.x, 0, 0 }; t.photonView.RPC("netSetLevel", PhotonTargets.AllBuffered, nslParams); } //titan.transform.localScale = scale; }