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