Example #1
0
 private void Awake()
 {
     _control = _droneFactory.transform.parent.GetComponent <IControlServer>();
 }
 private void Awake()
 {
     _control = _gameManagerObject.GetComponent <IControlServer>();
     ServerManager.Instance.Server.ClientManager.ClientConnected += OnClientConnected;
 }