// Use this for initialization
 void Start()
 {
     if (PlayerPrefab == null)
     {
         Debug.LogError("PlayerPrefab == null");
     }
     if (comunicationManager == null)
     {
         Debug.LogError("comunicationManager == null");
         comunicationManager = this.transform.GetComponent <FXRunnerMQTT>();
     }
     PlayersDict = new Dictionary <string, GameObject>();
 }
Exemplo n.º 2
0
 // Use this for initialization
 void Start()
 {
     MQTTManager = GameObject.Find("MQTTManager").GetComponent <FXRunnerMQTT>();
 }