// Use this for initialization void Start() { StartCoroutine(WaitRequestHostList()); StartCoroutine(WaitInitializeServer()); enemyListManager = GameObject.Find("EnemyManager").GetComponent<EnemyListManager>(); }
// Use this for initialization void Start() { enemyListManager = GetComponent<EnemyListManager>(); screenCenter = new Vector3(Screen.width / 2, Screen.height / 2, 0.0f); }