bool TryToConnect()
 {
     return(NetworkHelper.instance.TryToConnect(() => {
         if (_character != null && _goldModule != null)
         {
             return true;
         }
         isInit = false;
         _character = Race.GetOpponentCharacter();
         if (_character == null)
         {
             return false;
         }
         _goldModule = _character.GetModule <GoldModule>();
         return false;
     }));
 }
 bool TryToConnect()
 {
     return(NetworkHelper.instance.TryToConnect(() =>
     {
         if (!_character.IsNull() && !_goldModule.IsNull() && !_energyModule.IsNull())
         {
             return true;
         }
         _character = Race.GetLocalCharacter();
         if (_character.IsNull())
         {
             return false;
         }
         _goldModule = _character.GetModule <GoldModule>();
         _energyModule = _character.GetModule <EnergyModule>();
         return false;
     }));
 }