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

FindGameObjectsWithTag not working consistently?

$
0
0
Code (CSharp):
  1. using UnityEngine;
  2. using System.Collections;
  3. using UnityEngine.Networking;
  4. using System.Collections.Generic;
  5. using UnityEngine.UI;
  6. using System;
  7. public class TheNetManager : MonoBehaviour { //STARTS STUFF ON SERVER
  8.     public GameObject theGameManager;
  9.     bool GameStarted = false;
  10.     // Use this for initialization
  11.     void Start () {
  12.     }
  13.  
  14.     // Update is called once per frame
  15.     void Update () {
  16.         StartGame (GameStarted);
  17.  
  18.     }
  19.  
  20.  
  21.  
  22.     void StartGame(bool...
FindGameObjectsWithTag not working consistently?

Viewing all articles
Browse latest Browse all 16796

Trending Articles



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