Example #1
0
        void Awake()
        {
            mainObject = GameObject.Find("MainObject");
            mapCamera  = GameObject.Find("MapCamera").GetComponent <MapCamera>();

            NetworkManager.Listen(
                NetworkCode.ZONE,
                ProcessZone
                );
        }
        void Awake()
        {
            mainObject = GameObject.Find("MainObject");
            mapCamera = GameObject.Find("MapCamera").GetComponent<MapCamera>();

            NetworkManager.Listen(
            NetworkCode.ZONE,
            ProcessZone
            );
        }
Example #3
0
 // Use this for initialization
 void Start()
 {
     tileInfoGUI = gameObject.AddComponent<TileInfoGUI>();
     mapCamera = GameObject.Find("MapCamera").GetComponent<MapCamera>();
 }
Example #4
0
 // Use this for initialization
 void Start()
 {
     tileInfoGUI = gameObject.AddComponent <TileInfoGUI>();
     mapCamera   = GameObject.Find("MapCamera").GetComponent <MapCamera>();
 }