Quantcast
Channel: Multiplayer
Viewing all articles
Browse latest Browse all 16796

Sync transform of non PhotonNetwork.Instantiated objects. Please Help!

$
0
0
Hello folks,

I am making an online multiplayer football game. In the game there's a ball already in the scene (balli s not instantiated it is present in scene when the game starts) and it has a Photon View and a script which syncs the transform of the ball and this script is observed.

[This is that script]
Code (CSharp):
  1. using UnityEngine;
  2. using System.Collections;
  3.  
  4. public class ball_SyncTransform : Photon.MonoBehaviour {
  5.  
  6.     [SerializeField]...
Sync transform of non PhotonNetwork.Instantiated objects. Please Help!

Viewing all articles
Browse latest Browse all 16796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>