Esempio n. 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
            );
        }
Esempio n. 3
0
 // Use this for initialization
 void Start()
 {
     tileInfoGUI = gameObject.AddComponent<TileInfoGUI>();
     mapCamera = GameObject.Find("MapCamera").GetComponent<MapCamera>();
 }
Esempio n. 4
0
 // Use this for initialization
 void Start()
 {
     tileInfoGUI = gameObject.AddComponent <TileInfoGUI>();
     mapCamera   = GameObject.Find("MapCamera").GetComponent <MapCamera>();
 }